• Hello,

    I’d Like to change “Older Entries” to read “Next Page” and “Newer Entries to “Prev Page”. Is this possible?

    and another thing i am trying to do is to make the text where is says
    “Older Entries” bigger,
    how can i do that ?

    Thank you very much

Viewing 15 replies - 1 through 15 (of 16 total)
  • look into the template with these links (probably index.php) and search for next_posts_link() and previous_posts_link() resp (with some content within the brackets)
    or possibly posts_nav_link()

    then follow the docu:
    https://codex.www.ads-software.com/Function_Reference/next_posts_link
    https://codex.www.ads-software.com/Function_Reference/previous_posts_link
    https://codex.www.ads-software.com/Function_Reference/posts_nav_link

    i am trying to do is to make the text where is says
    “Older Entries” bigger

    text sizes are usually defined in style.css of your theme.

    Thread Starter smounche

    (@smounche)

    I found the file index.php. in
    C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\html\index.php

    (rt_grunge_wp is the theme i am using)

    I open the file index.php. and changed the values of this line

    <?php next_posts_link('&laquo; '._r('see older post')); ?>

    – as you can see i changed it form “Older Entries” to ‘see older post’ .. but it didn’t changed it in the site itself..

    am i doing something wrong ?

    Hi smounche:

    <?php next_posts_link('&laquo; '._r('see older post')); ?>

    must be

    <?php next_posts_link('&laquo; '._e('see older post')); ?>

    Do check. ??

    Regards,
    Sterex

    Thread Starter smounche

    (@smounche)

    Hi.

    i open single.php (int the folder C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\html)

    but i don’t find there the line next_posts_link

    Thread Starter smounche

    (@smounche)

    NO… didn’t find it…

    is there another place that this file (single.php) can be ?

    do your single posts have a ‘next/prev’ link already?

    if so, then there should be some code in single.php;
    if not, you need to add this code to single.php.

    Thread Starter smounche

    (@smounche)

    i am not talking inside my posts.
    i mean in the main page.. on the bottom.. there are all the post.
    and then in the bottom of the page (the main page) it says “Older Entries”..

    How to change that….

    all your posts – then look into index.php (or whatever template file does the front/blog page in your theme)

    Thread Starter smounche

    (@smounche)

    Again,

    are you talking about index.php that is located inside
    C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\html
    ?

    because, like said before i already changed that . .

    I don’t understand.. can you please explain it in a way a dummy like me can understand….

    i don’t have your theme on my site, so i can’t exactly tell you what files to look into; however, there is a limited amount of files in a theme, so just look through all of them, if you are not sure.

    the files should usually be in this folder (and possibly subfolders of that):
    C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\

    (i don’t know what in the /html subfolder of your theme is)

    this https://codex.www.ads-software.com/Template_Hierarchy might help you to exclude files in your search

    Thread Starter smounche

    (@smounche)

    When i search for index.php. inside
    C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\

    i find only 2 files.
    this are the locations;

    1. C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp\html
    2. C:\wamp\www\wordpress\wp-content\themes\rt_grunge_wp

    and i have only 1 theme installed.. (it’s rt_grunge_wp)

    which index.php have you edited so far?

    have you edited the index.php in location 2 ?

    from the outside, i can’t see where the ‘next/prev’ codes are.
    end of my suggestions.

    you know what code to look for, and you have all the theme files accessible.

    Thread Starter smounche

    (@smounche)

    ahha i give up..

    thanks anyway

    i think some other functions may use to do page/comment nav is get_previous_comments_link
    get_next_comments_link
    get_previous_post_link
    get_next_post_link
    get_previous_posts_link
    get_next_posts_link

    search them in your themes
    mine is in function.php

    edit the text inside these functions and you will get the phrase you want.
    also, « and &raquo these 2 symbols could be useful.

    you can take a look at my site: https://wine.waiwah.hk/?cat=29&lang=en

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘change "Older Entries"’ is closed to new replies.