Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,096 through 1,110 (of 2,005 total)
  • Author
    Search Results
  • #65850
    CarlaCarla
    Participant
    • Topics: 11
    • Replies: 27
    • Total: 38
    Member since: January 16, 2017

    Thank you for your reply. Follow us I have translated through the header.php and Search through the searchform.php but Read more on the Populair section button I still could not translate.
    The Youtube film you posted is about translating the whole website through qtranslate but that is not what I want. The website is in Dutch only and therefor I have to translate the buttons. All the other buttons I could translate except for the button in the Populair procedure box. Is there a php.file I can use for that? Or is there another option in the Theme options box settings?
    Thank you.

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

    Hi Carla,

    For the topbar Foloow us text kindly go to header.php and change the text from there.

    Watch this video on how to translate text within sections:

    https://www.youtube.com/watch?v=vRrVr8waiH4

    Regards,
    Dave

    #65709
    Vanessa GómezVanessa Gómez
    Participant
    • Topics: 185
    • Replies: 484
    • Total: 669
    Member since: July 4, 2016

    Hi Dave,

    This pluguin was working correctly until past monday with previous theme and the same version of WordPress.
    We also have it installed and running on another website with another theme (http://www.martam.cat/comentaris/)

    Can this be a Teethy theme incompatibility with this pluguin?

    Look at this:
    “Some themes don’t use <?php comments_template() ?> WordPress template function, thus wpDiscuz can’t be loaded. You should ask theme support to make sure they use this function in comment section.”

    I found some comments about the incompatibility of some themes with this pluguin:
    http://techosaurs.com/wpdiscuz-not-showing-up/

    Thank you very much for your help!!

    Best regards,
    Vanessa

    #65708
    JokoJoko
    Participant
    Member since: February 10, 2017

    Helo

    I try to remove slider code from header.php, but after remove white screen appeare, my question how to clear white screen when i remove slider code, below is code i remove

    <?php $slidershortcode = of_get_option(‘slidershortcode’); ?>
    <?php if( !empty($slidershortcode)){?>
    <div class=”slider-main”>
    <?php if( of_get_option(‘slidershortcode’) != ”){ echo do_shortcode(of_get_option(‘slidershortcode’, true));}; ?>
    </div>
    <?php } else { ?>

    <div class=”slider-main”>
    <?php

    $slAr = array();
    $m = 0;
    for ($i=1; $i<11; $i++) {
    if ( of_get_option(‘slide’.$i, true) != “” ) {
    $imgSrc = of_get_option(‘slide’.$i, true);
    $imgTitle = of_get_option(‘slidetitle’.$i, true);
    $imgDesc = of_get_option(‘slidedesc’.$i, true);
    $imglink = of_get_option(‘slidelink’.$i, true);
    $imgbut = of_get_option(‘slidebutton’.$i, true);
    if ( strlen($imgSrc) > 10 ) {
    $slAr[$m][‘image_src’] = of_get_option(‘slide’.$i, true);
    $slAr[$m][‘image_title’] = of_get_option(‘slidetitle’.$i, true);
    $slAr[$m][‘image_desc’] = of_get_option(‘slidedesc’.$i, true);
    $slAr[$m][‘image_url’] = of_get_option(‘slidelink’.$i, true);
    $slAr[$m][‘image_but’] = of_get_option(‘slidebutton’.$i, true);
    $m++;
    }
    }

    }
    $slideno = array();
    if( $slAr > 0 ){
    $n = 0;?>
    <div id=”slider” class=”nivoSlider”>
    <?php
    foreach( $slAr as $sv ){
    $n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php if ( ($sv[‘image_title’]!=”) && ($sv[‘image_desc’]!=”)) { echo ‘#slidecaption’.$n ; } ?>”/><?php
    $slideno[] = $n;
    }
    ?>
    </div><?php
    foreach( $slideno as $sln ){ ?>
    <div id=”slidecaption<?php echo $sln; ?>” class=”nivo-html-caption”>
    <div class=”top-bar”>
    <?php if( of_get_option(‘slidetitle’.$sln, true) != ” ){ ?>
    <h2><?php echo of_get_option(‘slidetitle’.$sln, true); ?></h2>
    <?php } ?>
    <?php if( of_get_option(‘slidedesc’.$sln, true) != ” ){ ?>
    <p><?php echo of_get_option(‘slidedesc’.$sln, true); ?></p>
    <?php } ?>
    <?php if( of_get_option(‘slideurl’.$sln, true) != ”){ ?>
    “><?php _e(‘Read More »’,’skt-white’); ?>
    <?php } ?>
    <?php if( of_get_option(‘slidebutton’.$sln, true) != ”){ ?>
    <?php echo of_get_option(‘slidebutton’.$sln, true); ?>
    <?php } ?>
    </div>
    </div><?php
    } ?>

    </div>

    <div class=”clear”></div>

    <?php } ?>
    </div>
    /#services” class=”arrow-down”>
    </div><!– slider –>
    <?php } ?>

    <?php } ?>

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

    Hi Jan,

    Kindly go to header.php and content-page.php

    For the homepage title go to content-home.php

    Regards,
    Dave

    #65631

    In reply to: Beauty Cut

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

    Hi Vika,

    Kindly go to inc/custom-functions.php and search contact form. You can change the text from there.

    Regards,
    Dave

    DonnieDonnie
    Member
    Member since: July 3, 2016

    As paul mentioned I would also like to access and edit the default sidebar contact form in Construction Pro but not able find any way to do this. Also not receiving any messages from the form after checking the address in “settings/general” and adding the same email address in “sidebar.php. Can you help?

    Thx
    Don

    #65503
    MenyhártMenyhárt
    Member
    • Topics: 5
    • Replies: 13
    • Total: 18
    Member since: November 18, 2016

    Hi,

    Thank you it works!

    Otherwise I started to prepare another site by using Gravida. And somehow the slider image change function does not work. It stops at the upload button I click on it but nothing happen.
    I checked this function on my other Gravida based site. On that site works this function.
    Both site is on the same shared web hosting service.
    This appears on the browers when the function stops.
    http://lmhr.hu/wp-admin/customize.php?url=http%3A%2F%2Flmhr.hu%2F&changeset_uuid=e91ea35c-9055-44f7-bbfc-19d86f235fd1

    Regards,
    Laci

    #65402

    In reply to: H1 tags

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

    Hi,

    You can add H1 tag in index.php

    Regards,
    Dave

    #65401
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Added the meta title and meta description here: http://www.ezhvac.com/wp-admin/admin.php?page=wpseo_titles#top#home

    It is exactly where one can edit the title and description of the homepage which is reflected in the source code as well.

    Hope this is clear now and can be resolved.

    Regards,
    Shri

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

    Hi Kaz,

    We have no idea whether about server level requirements if WordPress recommends then it should work. Otherwise we will suggest you to port to a hosting which supports PHP 7 and above and MySQL 5 and instead of apache LiteSpeed server is also being used.

    Easy Engine can’t vouch for because its not used that much.

    Regards,
    Brad

    #65060

    In reply to: Perfect Logistics

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

    Hi Nicolas,

    Replaced a code in woocommerce.php

    Original Code

    `<?php if(!is_singular()) { ?>
    <!–CUSTOM PAGE HEADER STARTS–>
    <?php get_template_part(‘sktframe/core’,’pageheader’); ?>
    <!–CUSTOM PAGE HEADER ENDS–>
    <?php } ?>`

    Replaced the code with

    <?php get_template_part('sktframe/core','pageheader'); ?>

    Regards,
    Dave

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

    Hi Michael,

    Kindly go to woocommerce.php and remove the code <?php get_sidebar(); ?>

    Regards,
    Dave

    #64941
    jenjen
    Participant
    Member since: June 27, 2016

    Hi, are using the SKT Beauty Cuts Pro v.1.0
    And get this error message in wp-admin (on top)

    Notice: Use of undefined constant SKT_THEME_URL – assumed ‘SKT_THEME_URL’ in /storage/content/09/112009/hemtillemma.nu/public_html/wp-content/themes/beautycut/options.php on line 657 Notice: Use of undefined constant SKT_THEME_DOC – assumed ‘SKT_THEME_DOC’ in /storage/content/09/112009/hemtillemma.nu/public_html/wp-content/themes/beautycut/options.php on line 658

    What is wrong and how can I correct it.

    Kind regards
    //JA

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

    Added this code in functions.php

    <?php if ( is_home() || is_front_page() ) { ?>
    jQuery(window).load(function() {
            jQuery('#slider').nivoSlider({
              effect:'<?php echo of_get_option('slideefect',true); ?>', //sliceDown, sliceDownLeft, sliceUp, sliceUpLeft, sliceUpDown, sliceUpDownLeft, fold, fade, random, slideInRight, slideInLeft, boxRandom, boxRain, boxRainReverse, boxRainGrow, boxRainGrowReverse
            animSpeed: <?php echo of_get_option('slideanim',true); ?>,
          pauseTime: <?php echo of_get_option('slidepause',true); ?>,
          directionNav: <?php echo of_get_option('slidenav',true); ?>,
          controlNav: <?php echo of_get_option('slidepage',true); ?>,
          pauseOnHover: <?php echo of_get_option('slidepausehover',true); ?>,
        });
    });
    
    <?php } ?>

    Regards,
    Dave

Viewing 15 results - 1,096 through 1,110 (of 2,005 total)