• Resolved catwingz

    (@catwingz)


    Hi, I have used your theme a number of times and am very happy that it can work with the Featured Video Plus plugin. The catch now is that I want to be able to display the featured images and video in the banner and to have the banner show on all pages. How can I do that?
    If I know it is possible I will create a child theme. I also need to get this one done and presentable over the next week… so if it takes awhile for you to see this I may have changed the theme again while I search for a solution. Hopefully not, as I’d really like to stick with this one.

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    I’ve just added a hook inside that banner area so that it’s easier to add content to that area.

    I haven’t uploaded it to the .org Theme Directory yet so in the meantime, you’ll need to grab that updated theme from my github repo:
    https://github.com/maddisondesigns/Quark

    It means you’ll be able to do something like the following in your child theme functions.php file:

    
    function my_banner_function() {
    	if( !is_front_page() ) {
    		echo 'Print some html here!!!';
    	}
    }
    add_action( 'quark_above_banner', 'my_banner_function' );
    

    This example echos some text to the screen on every page except the homepage (when using a static front page). If you want it on every page (including the homepage), just remove that if() statement.

    Theme Author Anthony Hortin

    (@ahortin)

    This updated version of the theme has now been uploaded to the .org Theme Directory.

    Thread Starter catwingz

    (@catwingz)

    Thank you. I ended up having to move on and use another theme for this particular project but, this theme is a favorite, so this addition will come in handy for the next time.

    Theme Author Anthony Hortin

    (@ahortin)

    No probs. Hope it helps next time ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to fit featured image in page banners’ is closed to new replies.