-
Author
-
February 8, 2016 at 15:58 #102661investaParticipant
Hi, is it possible to attach the news ticker tape beneath the header so it appears on all pages?
February 9, 2016 at 20:50 #102986LauraModeratorHello, you could add it to header.php
using do_shortcodeCOPY CODEecho do_shortcode( '[kleo_news_ticker posts_query="size:10|order_by:date|post_type:post"]' );
You can change the shortcode for the one you use
This should be at header.php ( copy the original at main theme and paste it at child theme )
at the very end of the file.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 11, 2016 at 17:35 #103366investaParticipantHi Laura, thank you very much for the code. It worked perfectly on all my pages (see png 1) except the home page, where it appears at the very top and blocks out the site name (see png. 2). Is it possible to exclude the home page?
Attachments:
You must be logged in to view attached files.February 13, 2016 at 18:15 #103724LauraModeratorHello, please try adding the following css to style.css
COPY CODE.home .ticker { display: none; }
And replace the header code with this one
COPY CODE<div class="ticker"> echo do_shortcode( '[kleo_news_ticker posts_query="size:10|order_by:date|post_type:post"]' ); </div>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 13, 2016 at 19:42 #103752investaParticipantHi Laura, under header ‘MAIN SECTION’ – if I put code before final ?> it creates a 500 error. Am I putting it in the right place?
February 15, 2016 at 19:25 #103998LauraModeratorHello sorry, try this instead
COPY CODE<div class="ticker"> <?php echo do_shortcode( '[kleo_news_ticker posts_query="size:10|order_by:date|post_type:post"]' ); ?> </div>
Replace the first code i sent you with this one, at the same place
If not working please share ftpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 18, 2016 at 05:53 #104569LauraModeratorHello, fixed, please check attachments
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
Attachments:
You must be logged in to view attached files.February 18, 2016 at 23:08 #104878investaParticipantAh! Makes sense now I’ve seen it … I was the section down! Thanks again for preserving to solve this for me.
February 19, 2016 at 14:18 #105022LauraModeratorGlad it worked 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.