badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

“Top Stories Post” to show on all site.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #95995
    Raffet Ali
    Participant

    Hi,
    I do have another question, please:
    How can I show the “Top Stories Post” scrolling section on all site, not only the homepage.
    I have already checked the “Top Stories Post” settings, but this option is not available there.

    Thanks, and really highly appreciate your support.

    #96025

    Hi Raffet Ali,

    The Theme code need to customized to show ‘Top Stories’ Section on all the pages. For that Please go to ‘Theme directory > header.php’ file and on line no: 180, you will find below line of code:

    <?php if ( ( is_front_page() || is_home() ) && $meta_news_settings['meta_news_top_stories_hide'] === 0 ) {

    Now replace the above code with the code provided below:

    <?php if ( $meta_news_settings['meta_news_top_stories_hide'] === 0 ) {

    NOTE: Please make sure you create the Child Theme first before customizing the Theme code so that you won’t lose the customized code when updating the Theme to a Newer Version in future.

    Thanks

    #96027
    Raffet Ali
    Participant

    Hi,
    Thank you so much. Worked perfectly.
    Yes, I will also create a child theme.

    I still don’t know how, but will search Google on how to do that.
    If you have a good link on how to create a child theme, let me know please.

    Many thanks and highly appreciate your support.

    #96044
    Raffet Ali
    Participant

    Hi support team,
    I have just noticed that the “Top Stories Post” is scrolling only on the homepage not in all pages.
    On all other pages, it shows but not scrolling at all.

    Can you help me please how to fix that?

    #96046

    Sorry forgot to provide the next process for script enable.

    Please go to ‘Theme Directory > functions.php’. On line no: 254 You will find the below line of code:

    if ( ( is_front_page() || is_home() ) && $meta_news_settings['meta_news_top_stories_hide'] == 0 ) {

    now replace the above code of line with the code provided below:

    if ( $meta_news_settings['meta_news_top_stories_hide'] == 0 ) {

    Thanks

    #96047
    Raffet Ali
    Participant

    Amazing… worked.
    Many thanks.

    #96076

    Welcome anytime @raffet-ali

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.