• Resolved staralexander

    (@staralexander)


    Hello,
    My wife and I have been designing websites for years (Frontpage and Dreamweaver)
    We are redesigning an older site and using WordPress to remake it. We are using it strictly as a website, not for blogging or posting in any way.
    Using the Raindrops theme I want to have a different header on each page.
    In a related post it was suggested to “manipulate the featured image codex”. I do not know how. Please any help would be greatly appreciated as we are wanting to use WordPress to update and use on our other websites.
    Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Theme Author nobita

    (@nobita)

    Hi staralexander

    Please open header-html5.php

    echo raindrops_header_image( 'elements' );

    change below.

    //echo raindrops_header_image( 'elements' );
    echo '<div style="text-align:center;">';
    if( is_front_page() ){
    
    	//if you need image for front page
    }
    if( is_singular() ){
    
     if( have_posts() ){
         while( have_posts() ){
            the_post();
    		the_post_thumbnail( 'full','style=max-width:100%;height:auto;');
         }
        }
    	rewind_posts();
    }

    Default Raindrops theme shows featured image entry title before.

    You maybe need comment out raindrops_featured_image(); in single.php

    Thank you.

    Thread Starter staralexander

    (@staralexander)

    Hello Nobita!
    Thanks so much your code did just what we needed!
    Do you know how I can adjust the footer info?
    the site is https://www.medicinewheelastrology.com if you want to see the pages.

    Theme Author nobita

    (@nobita)

    Please create template part file.

    name: hook-prepend-footer.php

    and paste below code.

    <div style="text-align:center;">
    <img src="https://medicinewheelastrology.com/wordpress/wp-content/uploads/2013/02/footer-blue2.jpg" style="max-width:100%" />
    </div>

    Thank you.

    Thread Starter staralexander

    (@staralexander)

    Hi Nobita,
    Thank you so much! I didn’t know how to do this before.
    Do you get paid for the help you provide on this forum? If not, is it possible to give a donation?
    I am new to wordpress, but I am excited to keep learning.
    Thank you for providing this service!

    Theme Author nobita

    (@nobita)

    Hi staralexander

    I do not have a system which receives donation and payment.

    I hope you enjoy Raindrops theme.

    Thank you.

    Thread Starter staralexander

    (@staralexander)

    Hi nobita,
    I was able to get the header to show the ‘featured image’, but unfortunately it also shows up in the body section! I don’t want this!
    I was wanting to insert a slideshow in the header, but could not figure out where the code would be placed.
    Stafan Boonstra suggested below the line <div style=”text-align:center;”>
    I couldn’t find a line that said that in the header.php file, nor in the header-front.php, nor in the header-html5.php file.

    Thank you for your patience with me as I learn how to use this great theme!

    Theme Author nobita

    (@nobita)

    Hi staralexander

    it also shows up in the body section! I don’t want this!

    It means maybe below I wrote ?

    You maybe need comment out raindrops_featured_image(); in single.php

    above mean.

    Please open single.php
    line 78

    /**
    	 * Show featured image
    	 *
    	 *
    	 *
    	 *
    	 */
        raindrops_featured_image();

    Change below

    //raindrops_featured_image();

    Stafan Boonstra suggested below the line <div style=”text-align:center;”>

    This element contain customize code.

    //echo raindrops_header_image( 'elements' );
    echo '<div style="text-align:center;">';
    if( is_front_page() ){
    
    	//if you need image for front page
    }
    .......
    }

    echo '<div style="text-align:center;">'; can remove.

    I noticed the mistake.  if you use echo '<div style="text-align:center;">'; please add close element </div>

    Thank you

    Theme Author nobita

    (@nobita)

    Recomend when using Stafan Boonstra slideshow plugin.

    Open style.css
    add last line below style rule.

    .entry-content h2{
    	word-break:normal;
    	word-wrap:normal;
    }

    Thank you.

    Thread Starter staralexander

    (@staralexander)

    Nobita,
    Creating a new site with Raindrops. Can I remove BOTH side bars?

    I am also having difficulty knowing how to edit out the comments so they do not show up. I have unchecked all the boxes in the Dashboard/Settings/Discussion page.

    I think it can be done in comments.php?

    Theme Author nobita

    (@nobita)

    Hi staralexander

    that’s not the same question as this thread – per the forum guidelines, please start a new one:

    https://www.ads-software.com/support/theme/raindrops

    Creating a new site with Raindrops. Can I remove BOTH side bars?

    yes

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Set featured image as header on each page in Raindrops theme’ is closed to new replies.