?
Solved

Changing Older/Newer text in WordPress

Posted on 2013-06-05
12
Medium Priority
?
281 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
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 

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 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

616 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