[Resolved] Edit Rumor Template

Home Forums Support [Resolved] Edit Rumor Template

Home Forums Support Edit Rumor Template

  • This topic has 5 replies, 3 voices, and was last updated 1 year ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1448146


    I’m using the rumor template on my site, but I can’t figure out how to edit this section below the featured images – here is a screenshot https://snipboard.io/kfxaip.jpg – and my site URL is householdair.com

    Let me know if you can help

    Customer Support

    Hi there,

    go to Appearance > Elements there you will find a Header Element named Home Hero.
    Edit that to change the text within. It looks like this:

    [wp_show_posts name="Home Hero"]
    <div class="home-hero-description">
    	<p class="narrow-container">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ornare quam viverra orci sagittis. Sodales ut eu sem integer vitae. In hac habitasse platea dictumst quisque.</p>

    Don’t remove the [wp_show_posts name="Home Hero"] shortcode as this is displaying your 2 posts.

    More info on header elements:


    If you want to change the 2 posts being displayed edit the Home heros list in WP Show Posts.


    Thanks, I was able to edit it

    What about dates – I don’t want them to appear in both single and archive posts…but they still appear even if I change from theme layout.

    Customer Support

    Go to Appearance > Elements and edit the Entry Meta element and replace the whole code with this:

    printf( ' <span class="byline">%1$s</span>',
    	sprintf( '<span class="author vcard" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="author">%4$s<a href="%1$s" title="%2$s" rel="author"><span class="author-name" itemprop="name">%3$s</span></a></span>',
    		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    		esc_attr( sprintf( __( 'View all posts by %s', 'generatepress' ), get_the_author() ) ),
    		esc_html( get_the_author() ),
    		get_avatar( get_the_author_meta( 'ID' ) )
    if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
    	echo '<span class="comments-link">';
    		comments_popup_link( __( 'Comments', 'generatepress' ), __( '1 Comment', 'generatepress' ), __( '% Comments', 'generatepress' ) );
    	echo '</span>';

    Thanks Leo

    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.