Tagged: x
-
AuthorPosts
-
May 5, 2016 at 8:07 pm #977968
hdarteagaParticipantHi,
Wordpress and xtheme are fully updated!
I’ve added a banner supported by ADglare on my blog but would like it to only show on “post” pages and not on “page” pages if that makes sense. The banner is the long horizontal image that reads “CADE ROBERTS MUSIC”
Posts: I would like the banner to appear on the blog
https://prostudiolive.com/blog/
https://prostudiolive.com/blog/audio-summing-100000-api-console-vs-pro-tools/Pages: I would not like the banner to appear on pages
https://prostudiolive.com/blog/thank-you/It would be great if you can assist me with this. I’ve been trying a variety of different things and nothing has worked. Thanks so much for your great customer service once again.
May 6, 2016 at 1:58 am #978252
Rue NelModeratorHello There,
Thanks for writing in! It seems that you added the custom ADGlare section in the template in your child theme. Please edit the template and add a conditional statement like this:
<?php if ( ! is_page() ) : ?> <!-- Display AdGlare section --> <div class="x-container max width offset">....</div> <?php endif; ?>The section will not be display on page. It will only gets display in the blog index, archive and single blog posts.
Please let us know if this works out for you.
May 6, 2016 at 2:09 am #978264
hdarteagaParticipantThank you. Would it be possible for you to guide me to the exact php or css file within the child theme that code was placed in so I can add your code, I’m not sure what template you’re talking about. The developer that placed that original code is unreachable. It would be greatly appreciated, thanks.
May 6, 2016 at 6:00 am #978444
LelyModeratorHello There,
Please check functions.php file on your child theme on this folder wp-content/themes/x-child. If you can’t find it there, please check this folder: wp-content\themes\x-child\framework\views. Remove all the content(note to backup this file) and then add each file again one by one. Check the page after adding each file. Then check which file you add that displays the adds again on your page.
Hope this helps.
May 6, 2016 at 10:03 am #978671
hdarteagaParticipantThanks!
May 6, 2016 at 4:34 pm #979344
JadeModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-977968 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
