Solved

Changing Older/Newer text in WordPress

Posted on 2013-06-05
12
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

717 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