Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1114206
    goalsarecool
    Participant

    How do I put an image at the top of my blog page similar to what is seen here: http://davidaspecht.com/blog/

    Is this a category page or just a regular page http://davidaspecht.com/podcasts/

    Here is my blog page: https://www.goalsarecool.com/blog/

    #1114254
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released.

    Then add following code in child theme function.php file.

    add_action( 'x_before_view_global__index', 'print_ad_banner' );
    function print_ad_banner(){
    	?>
    	<img class="blog-banner" src="enter image path">
    	<?php
    }

    Please replace enter image URL with actual URL of image.

    The podcast page published under davidaspecht.com looks like a regualr page.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1114206 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>