Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8318245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:53:45+00:00 2026-06-08T21:53:45+00:00

Jquery ticker working on my site home page perfectly , but not working on

  • 0

Jquery ticker working on my site home page perfectly , but not working on pages . I dont know why.

On pages this ticker not is showing posts, it shows only the page list.

Here is code of TICKER on header

 <div class="fl" id="hotnews">
 <ul id="shreshth_news" class="shr_news">
 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
 <li><span class="heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?> </a>  </span><span class="info"></span></li>
 <?php endwhile; ?>
 </ul></div>

This ticker working smoothly on single.php index.php etc

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:53:47+00:00Added an answer on June 8, 2026 at 9:53 pm

    Add this instead of above code

    <div class="fl" id="hotnews">
    <ul id="js-news" class="js-hidden">
    <?php $the_query = new WP_Query('showposts=5&orderby=post_date&order=desc');
                while ($the_query->have_posts()) : $the_query->the_post(); ?> 
    <li><span class="heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>    </span><span class="info"></span></li>
    <?php endwhile; ?>
                <?php wp_reset_query(); ?>
    </ul></div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Jquery did not carry out!!!I don't know why $(.other-edithion).click(function(){ var city = $(this).closest('#city'); if
I have a ticker which uses a jquery and a Repeater.But I only get
I've come across this accepted solution and it is about Simple JQuery Fade ticker:
I have a jquery function like this: $(function() var ticker = function() { setTimeout(function(){
I'm seeing this issue in Internet Explorer 8, but not in Safari or Firefox.
I just embedded the Jquery News Ticker in my site The Kashmir Scenario ,
I am using a script from http://www.yourinspirationweb.com/en/jquery-how-to-create-a-news-ticker-with-just-a-few-javascript-lines/ which is a great newsticker, designed to
jQuery(.single_writing).each(function(){ jQuery(this).click(function(){ jQuery(#thisTickets).val(); jQuery(#my_iframe).contents().find('.ticket_id').each(function(){ jQuery(this).click(function(){ if (jQuery(this).attr(checked)==true){ jQuery(#thisTickets).val(jQuery(#thisTickets).val()+jQuery(this).attr(id)+, ); } }); }); }) });
Jquery does not work on the Internet explorer . However it runs on other
jquery looks like this $.post('JSP/processForm.jsp', $(#Form).serialize(), function(data){ //I want to iterate through every line

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.