Solved

Changing Older/Newer text in WordPress

Posted on 2013-06-05
12
276 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
ID: 39223472
Be more specific.  Where exactly is the wording showing up?
0
 

Author Comment

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

Expert Comment

by:Dzynit
ID: 39223539
The wording "should" be in your theme's single.php file. That can vary depending on the theme you're using.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:xmouser
ID: 39223543
Checking.
0
 

Author Comment

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

Expert Comment

by:Dzynit
ID: 39223579
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
 

Author Comment

by:xmouser
ID: 39223604
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
ID: 39223607
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
ID: 39223613
<?php get_template_part( 'loop' ); ?>

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

Expert Comment

by:Dzynit
ID: 39223618
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
ID: 39223626
That's it thanks.
0
 

Author Comment

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
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…
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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

820 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