• Resolved fearRacious

    (@fearracious)


    Hello,

    I’m customizing our 2013 themes defualt that wordpress provided.My issue was that the slideshow on homepage..How can I have a slideshow on the header with this code…

    <header class="entry-header">
    <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    <div class="entry-thumbnail">
    <?php the_post_thumbnail(); ?>
    </div>
    <?php endif; ?>
    <h1 class="entry-title"><?php the_title(); ?></h1>
    </header><!-- .entry-header -->
    </div>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I mean this is the global code for the header.So,how can I add the slideshow and just to show it only on the homepage??

    Here is the link of our site…
    https://rimbeydentalcare.com/

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    Thread Starter fearRacious

    (@fearracious)

    No…I didnt edit the parent theme..I used a child theme to do the editing..

    Now I need is a slideshow just on the homepage..I read one post about it and the code was

    <?php if ( is_front_page() ) {
    	if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); }
    } ?>

    But this was only in meteor slideshow..Will this still work while using the

    <?php if ( is_front_page() ) {
    if(function_exists( 'content or shortcode here?' ) ) {
    }
    } ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    You cannot use if(function_exists( 'content or shortcode here?' ) ). 'content or shortcode here?' is not a function.

    Thread Starter fearRacious

    (@fearracious)

    No…I mean..Just for an example..As im still looking what slideshow are best to be used on the website..But the idea was that right??

    Not really. It is going to be entirely dependant upon the plugin you eventually use.

    Thread Starter fearRacious

    (@fearracious)

    Ok..Then, I guess..I have to ask a plugin developer if I chose that plugin of them on How to show it only on homepage??

    Yes – although that information may already be available in the plugin’s documentation.

    Thread Starter fearRacious

    (@fearracious)

    Ok..Thanks for the info…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘twenty thirteen themes slideshow on homepage’ is closed to new replies.