The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

“Pagination” for Posts with next/Prev navigation outside loop

I would like to list all posts from a category or all posts on one Page and add a navigation on the right side, so outside the loop which loads my posts. i found this post whick has a similar ...
0
votes
1answer
25 views

Display NEXT and PREVIOUS pagination? [duplicate]

I need help on the pagination. I try to put the NEXT and PREVIOUS pagination that show the post in a same category, but I am not sure what happen that showing nothing. If you can help, much thanks! ...
0
votes
1answer
38 views

next and previous year month and day for archive page

is there php code for next and previous year,month,day link in archive page i just need something like that <-previous [year] next-> <-previous [month] next-> <-previous [day] ...
0
votes
0answers
37 views

How to display everytime Next and Previous button?

How i can display everytime next and previous? When i'm in first page or last page the previous and next button disappear, i want display everytime the next and previous button. Here is my source ...
0
votes
0answers
157 views

How to get the Next & Previous Post Opening in Zurb's Reveal Modal Lightbox

I have set up a loop that has my posts opening successfully in a reveal modal lightbox but I'm having difficulty getting the next and previous posts to open in the lightbox. The previous_post_link() ...
0
votes
0answers
65 views

How to show 4 previous posts from current article category in Wordpress?

How to show the 4 previous articles on Single Post (single.php), only from current article category? Also if no previous article found, loop from the next articles. Please no plugins... I need to ...
0
votes
2answers
839 views

How to make Next and Previous attached image navigation on the attachment page? [duplicate]

How to make Next and Previous attached image navigation on the attachment page? ' . __( 'Previous Image', '$text_domain' ) . '' ); ?> ' . __( 'Next ...
0
votes
2answers
340 views

Category foreach Paging

I'm using the following code to display categories on my homepage, what I'd like to do is add the ability for paging with previous and next links, I haven't been able to figure out how to do this with ...
1
vote
1answer
316 views

Loop - how to get previous/next post for first/last post?

I have a simple loop for a JS slider, I want to display previous and next posts titles on my slide, but I can't get previous post title on the first slide (because apparently first post have no ...
0
votes
2answers
291 views

Add next and previous post links on pages like category, tags or archive pages

I am trying to find a solution for getting next pages for category or tag page in WordPress, tried with next_posts_link and previous_posts_link in these pages, but it's not working. Same functions ...
0
votes
1answer
678 views

How can I change the prev / next buttons text to Dutch?

If you look to this page everything is alright except the previous and next buttons text are in English. Does anyone know how I can make them display in Dutch? I already tried to change them but no ...
0
votes
1answer
75 views

get next/previous post name

i know that : <?php $pagename = get_query_var('name'); ?> get the name of the current page/post. But I dont know how to get the name of the next and the previous post. I will use it for a hover ...
0
votes
1answer
52 views

Footer with next/previous posts

I'm looking for something to create a multi footer with previous / next posts. The footer needs to know if the current post is the newest (1st, 2nd and 3rd newest), oldest (3rd, 2nd, and oldest) or in ...
0
votes
1answer
234 views

How To Show Get Adjacent Posts If Posts Are Sorted By Custom Field

I want to get the ID of adjacent posts. For posts sorted chronologically you can use: get_adjacent_post Are there any standard methods for finding the adjacent post if the posts are sorted by ...
1
vote
1answer
618 views

How to display following posts titles in separate div's on a separate webpage

Intro: I have a webpage that is not part of wordpress. I have incorporated the wp blog posts, by putting The Loop in the page's code. This works, it displays the current posts and their following ...
1
vote
2answers
676 views

Next/Prev posts on same page

Hello WordPress Users, I'm stuck with a problem building my wordpress website and I can't figure out what to do about it. Currently I'm showing 2 posts form the category 'News' at the page 'News'. ...
0
votes
2answers
72 views

Is that the query_posts() the real criminal here?

<div class="single_post"> <?php // The Query query_posts( $args ); // The Loop if(have_posts()) : while ( have_posts() ) : the_post(); ?> <div ...
0
votes
3answers
320 views

Add title for previous and next posts to Yoko Theme

Help! I want to change my "Previous" and "Next" post links to use the actual post titles. I have done all kinds of online research and code manipulation without any success. I am using the Yoko ...
0
votes
3answers
425 views

Show multiple next and previous posts

I've created a portfolio with single posts. When viewing the posts i'd like to show the next / previous 2 posts (portfolio items). Currently i'm using the following code but only shows one post: ...
0
votes
1answer
203 views

Theme Option not Working Inside a Function

Earlier, I asked this question and received a code which should work. Unfortunately, this code is not working. I'm building a themes option panel and want users to be able to choose between ...
0
votes
2answers
80 views

Styling Previous/Next Pages differently from Index

A friend of mine pointed me towards using child elements to style my index page so that I could have one loop and several different visual styles (a featured post, a smaller sub-featured post, and ...
0
votes
1answer
696 views

Plugin: Events manager - Next and previous event

I'm trying to get a navigation in the events of event manager the next/previous post links work but they are ordered by creation date instead of event date. How could it be possible to change this? ...
1
vote
1answer
774 views

Posts archive index pagination in a static page custom query

In WordPress, I have a page for News that is using a specific page template I created. This page is populated by news posts assigned to the news category. I need to show only two of the latest news ...
1
vote
1answer
1k views

get_previous_post in same categories

I have a post in two categories, 1 and 2. I want to get the previous post in the two categories, 1 and 2. get_previous_post(true); With that code I'm getting the previous post in category 1 or 2. ...
1
vote
2answers
3k views

How to show link to next posts in single.php

I can't get get_next_posts_link to work. shouldn't his code work? <?php echo get_next_posts_link(); ?> Well, I am trying to get next 5 posts, any idea how? EDIT: Accroding to: <?php ...
3
votes
1answer
643 views

Get next/previous cousin page

Hey Guys, I'm trying to build pagination links for the next/previous cousin page. For example, my page structure is like this: Top Level A a1 a2 B b1 b2 When I'm on a2, I want the 'Previous ...
2
votes
4answers
3k views

Get Next / Prev 3 Posts in Relation to Current Post

I have 7 posts, like this: 1 2 3 4 - this is the current post 5 6 7 As noted, number four is the current post being displayed. I need to create a query that will allow me to display the previous 3 ...