0
votes
0answers
75 views

How to use custom fields to enable sticky posts on custom post types?

Background: The Wordpress Answers site has two questions which ask about how to enable sticky posts on custom post types (see how to make custom posts sticky? and Enable sticky posts to custom ...
1
vote
2answers
169 views

Sticky post appears twice

I am trying to modify the number of posts_per_page in the loop. This way: function posts_per_page($query) { $query->query_vars['posts_per_page'] = 3; } add_filter('pre_get_posts', ...
1
vote
1answer
110 views

How to display only feautured/sticky listings on the homepage

I want on my homepage on my first page to be displayed only featured listings no matter how old they are This is my homepage code: <?php get_header(); ?> <?php ...
0
votes
0answers
37 views

Don't let featured posts automatically become sticky posts

My featured posts are already displayed in a slider in the front page but are also displayed as sticky posts in my front page as well; my featured posts are displayed twice on the same page and looks ...
-4
votes
1answer
241 views

Display All Sticky Post Before Regular Post

I would like to display all of my sticky post and then regular post thereafter. I am new to WordPress and not sure how to do this. Any help would be greatly appreciated. --------- ...
0
votes
1answer
130 views

How to change text (date) in post base on the day

So the question seem unclear, i rewrite it to hope for the best and get some great ideas. I write a WordPress Sticky post (always first on top). In that post text there is something written like : ...
4
votes
1answer
285 views

Code to make a post sticky

How is it possible to upgrade a post to make it sticky directly from code, not by admin area? Is it possible through a code like: update_post_meta($post_id, $meta_key, $meta_value, $prev_value); In ...
0
votes
3answers
121 views

How to automate featured posts number? [duplicate]

Possible Duplicate: featuring old articles without messing up with the archive Let's say you have a category called "featured". and you use that to feature posts. And the theme you have has ...
0
votes
1answer
151 views

marking a post that was sticky on category template

i want some how to mark the post that has been featured (was a sticky post) in the category template. in wordpress logic it should be something like - was_sticky(); anybody?
1
vote
1answer
71 views

How to get 1 or 2 specific posts on top of my wordpress blog?

Does anyone know how to get 1 or 2 specific posts on top of my wordpress blog all the time? I mean just like in a forum where you can sticky a post so they are always on top of the other posts. Is ...
4
votes
1answer
630 views

Highlight a Featured Post?

I would like to "highlight" a featured post above all other posts with a special indicator. Is there a feature in WordPress that will do this or do I need to install a third party plug-in? I am ...