Solved

Changing Older/Newer text in WordPress

Posted on 2013-06-05
12
274 Views
Last Modified: 2013-06-05
I want to change the word 'Older to Newer' and 'Newer to Older'. I have my post sorting in reverse order. Where is this controlled from  or where can I go in and simply reverse the wording.

WP 3.5
0
Comment
Question by:xmouser
  • 6
  • 3
  • 3
12 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Be more specific.  Where exactly is the wording showing up?
0
 

Author Comment

by:xmouser
Comment Utility
The navigation at the bottom of blog pages. See attached pic.
Older.JPG
0
 
LVL 14

Expert Comment

by:Dzynit
Comment Utility
The wording "should" be in your theme's single.php file. That can vary depending on the theme you're using.
0
 

Author Comment

by:xmouser
Comment Utility
Checking.
0
 

Author Comment

by:xmouser
Comment Utility
No not there. Thought it would be in WP specific part rather than in the theme.
0
 
LVL 14

Expert Comment

by:Dzynit
Comment Utility
I'm sorry - I gave you the wrong location. In the theme, it will be in index.php, archives.php, and category.php - you may or may not have the archives and category files.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:xmouser
Comment Utility
Have all three:

Index:

<?php
/**
 * @KingSize 2011
 **/
?>
<?php get_header(); ?>


<!-- GOOGLE ANALYTICS -->
<?php include (TEMPLATEPATH . "/lib/google-analytics-input.php"); ?>
<!-- GOOGLE ANALYTICS -->

</body>
</html>


archives:

<?php if(is_tax() && taxonomy_exists('portfolio-category')) {
 include('portfolio-list.php');

 } else {
      
       $tpl_body_id = 'blog_overview'; get_header();
       get_template_part( 'loop' ); ?>

<?php } ?>                  

<?php get_footer(); ?>

category:

<?php $tpl_body_id = 'blog_overview'; get_header(); ?>

<?php get_template_part( 'loop' ); ?>
                              
<?php get_footer(); ?>
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Thought it would be in WP specific part rather than in the theme.

Generally not, because the navigation functions are added by the theme.  It also could be part of a template part (TwentyTen, TwentyEleven, and TwentyTwelve all do it that way) where an include file gets called in.

Look for instances of next_posts_link() and previous_posts_link() in the files Dzynit references.  You can alter the labels via passing arguments to those functions.
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
<?php get_template_part( 'loop' ); ?>

Check loop.php for next_posts_link() and previous_posts_link().
0
 
LVL 14

Expert Comment

by:Dzynit
Comment Utility
Still unsure of what theme you have, but with the code in your last reply, you'll have to take a glance at each of the files in your theme and just look for the wording next_posts_link and previous_posts_link as jason pointed out.
0
 

Author Comment

by:xmouser
Comment Utility
That's it thanks.
0
 

Author Comment

by:xmouser
Comment Utility
Loop does it. I'm simply trying to change the text that 's presented as I have the sorting order changed.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now