Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,636 through 1,650 (of 2,005 total)
  • Author
    Search Results
  • #26297
    HolgerHolger
    Member
    Member since: March 8, 2016

    Is it possible to use the down arrow link to jump directly to a section?

    I named the section ID 2

    In the header.php I changed

    <a href=”<?php echo get_site_url(); ?>/#services” class=”arrow-down”></a>
    to
    <a href=”<?php echo get_site_url(); ?>/#2” class=”arrow-down”></a>

    but this will is not working.

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

    Hi,

    In the page-box.php i have added this code <?php the_content(); ?>

    Regards,
    Dave

    #26205
    GailGail
    Participant
    • Topics: 1
    • Replies: 7
    • Total: 8
    Member since: March 5, 2016

    (Sorry if this is off-topic; I just realized that the original post is about the SKT Biz/Corp theme. We have SKT BeFiT PRO theme.)

    add this in […] custom CSS box:
    #home_slider{display:none;}

    There are a couple of problems with this:

    1. The selector is incorrect. The HTML is:
      <div class="slider-main">
          <div id="slider" class="nivoSlider">
              <img src="..." />

      So the correct selector would be .slider-main.

    2. This is still not correct: it hides the slider not only on the blog (posts) page but also on the home page! To select only the <b>posts</b> page, you need to add an ancestor to the selector: body.blog .slider-main.
    3. On the posts page, I want to hide <b>all</b> home-page items; this includes the four boxes, whose HTML begins with <section id="wrapone" class="menu_page featuresbg">. So I would need to add an alternate selector: body.blog .slider-main, body.blog section#wrapone.
    4. Even if the CSS successfully hide these items, I believe that the browser will still fetch the images and execute the JavaScript. (I could be wrong on this.) This adds an unnecessary burden to both the web server and browser. The PHP should really not generate the objects in the first place.
    #26073
    Augustin OfiteruAugustin Ofiteru
    Participant
    • Topics: 0
    • Replies: 3
    • Total: 3
    Member since: June 3, 2015

    Are we talking about this file?

    <?php
    /**
    * The template for displaying home page.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package SKT Nature One
    */

    get_header();
    ?>

    <?php if ( ‘page’ == get_option( ‘show_on_front’ ) && ( ” != get_option( ‘page_for_posts’ ) ) && $wp_query->get_queried_object_id() == get_option( ‘page_for_posts’ ) ) : ?>

    <div class=”content-area”>
    <div class=”middle-align content_sidebar”>
    <div class=”site-main” id=”sitemain”>
    <?php
    if ( have_posts() ) :
    // Start the Loop.
    while ( have_posts() ) : the_post();
    /*
    * Include the post format-specific template for the content. If you want to
    * use this in a child theme, then include a file called called content-___.php
    * (where ___ is the post format) and that will be used instead.
    */
    get_template_part( ‘content’, get_post_format() );

    endwhile;
    // Previous/next post navigation.
    skt_natureone_pagination();

    else :
    // If no content, include the “No posts found” template.
    get_template_part( ‘no-results’, ‘index’ );

    endif;
    ?>
    </div>
    <?php get_sidebar();?>
    <div class=”clear”></div>
    </div>
    </div>

    <?php else: ?>

    <?php
    if( of_get_option(‘numsection’, true) > 0 ) {
    $numSections = esc_attr( of_get_option(‘numsection’, true) );
    for( $s=1; $s<=$numSections; $s++ ){
    $title = ( of_get_option(‘sectiontitle’.$s, true) != ” ) ? esc_html( of_get_option(‘sectiontitle’.$s, true) ) : ”;
    $class = ( of_get_option(‘sectionclass’.$s, true) != ” ) ? esc_html( of_get_option(‘sectionclass’.$s, true) ) : ”;
    $content = ( of_get_option(‘sectioncontent’.$s, true) != ” ) ? of_get_option(‘sectioncontent’.$s, true) : ”;
    $bgcolor = ( of_get_option(‘sectionbgcolor’.$s, true) != ” ) ? of_get_option(‘sectionbgcolor’.$s, true) : ”;
    $bgimage = ( of_get_option(‘sectionbgimage’.$s, true) != ” ) ? of_get_option(‘sectionbgimage’.$s, true) : ”;
    ?>
    <section <?php if( $bgcolor || $bgimage ) { ?>style=”<?php echo ($bgcolor != ”) ? ‘background-color:’.$bgcolor.’; ‘ : ” ; echo ($bgimage != ”) ? ‘background-image:url(‘.$bgimage.’); background-repeat:no-repeat; background-position: center center; ‘ : ” ; ?>”<?php } ?> id=”section<?php echo $s;?>” class=”<?php echo ( of_get_option(‘menutitle’.$s, true) != ” ) ? ‘menu_page’ : ”;?>”>
    <div class=”<?php echo ( ($s>22) && $class==”) ? ‘top-grey-box’ : $class; ?> middle-align”>
    <?php if( $title != ” ) { ?>
    <h2><span><?php echo $title; ?></span></h2>
    <?php } ?>
    <?php the_content_format( $content ); ?>
    </div><!– middle-align –>
    <div class=”clear”></div>
    </section><div class=”clear”></div>
    <?php
    }
    }
    ?>

    <?php endif; ?>
    <?php get_footer(); ?>

    J ChappellJ Chappell
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: October 14, 2015

    The PM Pro is an after issue. That was installed AFTER I submitted the ticket for the initial issue. Please disregard that portion of the post as I was only giving it to you as ANOTHER example and please work on the initial ticket issue.

    Again, there is a warning message I go to ANYTIME I create a page using my Thrive Landing Page software.
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘hook_custom_javascript’ not found or invalid function name in /homepages/2/d175379092/htdocs/ggg/wp-includes/plugin.php on line 525

    You can go to this page to see an example: http://gogoodguru.com/thank-you-sign-up/

    I’m really hoping we can get this resolved. I currently have been directing clients to your site to choose themes from when building a site for them. However, the online marking portion of our service is becoming a big part of our business and will be a deal breaker if it can’t be resolved…which is a bummer because I love your templates.

    Thank you and I appreciate your assistance on this.

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

    Hi Armin,

    This issue was resolved from our end. Kindly check and confirm.

    You can change read more button for translation.

    For the blog read more kindly change it from “content.php” and custom-function.php

    Regards,
    Brad

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

    Hi Sherry,

    Kindly go to your themes folder.

    /wp-content/themes/skt-spa-pro/header.php

    Regards,
    Brad

    #25907
    SherrySherry
    Member
    Member since: January 25, 2016

    I asked about correcting the spelling of the ‘Appointment’ button on the homepage slider on our website: http://www.dbcharlotte.com. You said to Kindly go to header.php to edit Appointment text. Is this in the Appearance/Editor? I can’t find it there. Where do I edit the text?

    Thank you.

    J ChappellJ Chappell
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: October 14, 2015

    I wonder if there isnt something going on with the custom.php. Had another issue while installing the Paid Membership Pro Plugin.
    I was able to activate the main plugin with no issues, I was then able to install the Email Templates Add On which defines our own custom PMPro HTML Email Templates. However, as soon as I installed Register Helper Add On that handles Custom fields, shortcodes, and other functions to help customize our Paid Memberships Pro checkout process. MY ENTIRE SITE BOMBED and gave the message below until I ftp into my server, added.old to the end of that plugin folder:

    Fatal error: Cannot redeclare str_lreplace() (previously declared in /homepages/2/d175379092/htdocs/foldernamehere/wp-content/plugins/pmpro-register-helper/pmpro-register-helper.php:1231) in /homepages/2/d175379092/htdocs/foldernamehere/wp-content/themes/skt-befit-pro/inc/custom-functions.php on line 241

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

    Hi Michael,

    You have to edit category.php

    Regards,
    Dave

    #25827

    In reply to: design agency

    Malin HeintzMalin Heintz
    Member
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: April 9, 2015

    Hi!
    A BIG PROBLEM!
    When I install a plug-in the site collapsed. I know it´s maybe a wordpress-support thing, but I don´t found any support. Anyway, I have tried to change the code from “false” to “true” and I have tried to change the problem trough phpmyadmin but it doesn´t work.
    Can you please help me?

    Thanks!
    /Malin

    #25812

    In reply to: EMAIL COLLECTION

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

    Hi,

    You can kindly use newsletter plugins in WordPress or mailchimp plugin but that requires sign up with mailchimp.

    You can search here: https://wordpress.org/plugins/search.php?q=newsletter

    Regards,
    Shri

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

    Hi Augustin,

    Yes, you can change it from index.php

    Regards,
    Brad

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

    Hi Peter,

    I have changed some code in /inc/custom-function.php

    Regards,
    Brad

    #25548

    In reply to: Translation problems

    JulieJulie
    Member
    • Topics: 2
    • Replies: 11
    • Total: 13
    Member since: February 10, 2016

    Ok. Still no news…
    You should, at least, told me you don’t have time for now, instead of saying “tomorrow”, then nothing.

    I had to do the job myslef, and go inside the php files to translate. That is wrong.

    For the other one :
    Home >> skt_hotel\inc\custom-functions.php l.983
    Read more >> skt_hotel\content.php l.25
    No recent posts >> skt_hotel\inc\custom-functions.php l.703

    And for the form, it was in the plugin Contact Form 7 Parameters.

    I’m waiting now for apologizes, and above all, an explanation of your silence, if you want me to show your themes to my clients again…
    Very desappointed.

Viewing 15 results - 1,636 through 1,650 (of 2,005 total)