Posts are the core of WordPress. They store content, are categorized, and are expansible with meta. Posts are grouped by post type, and within their post type by taxonomy (though a taxonomy can span more than one post type).

learn more… | top users | synonyms (2)

0
votes
3answers
53 views

Retrieve a specific post's featured image and show on a different page

What I'm simply trying to do is grab the featured image thumbnail image from a specified post/page and display that image on any other page somewhere. So for instance, if it's a single post, use the ...
0
votes
1answer
41 views

I need to create a page or post hierarchy

I am currently stuck and I need some advice ASAP. I am making a site for a client on which they need to have a sort of hierarchy like this Carriers (Main Category or page) -Level 1 -Level 2 ...
0
votes
2answers
76 views

Odd/even class on article tag

I am using the article tag with the following code: <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix span4 '); ?> role="article"> </article> and I would like ...
0
votes
0answers
44 views

Display all posts a registered user comment on

I found this plugin/code which shows recent comments of a particular user in WordPress. How can i display a list of all posts a registered user comment on? I need to display posts titles rather than ...
0
votes
1answer
46 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
0
votes
0answers
38 views

Do someone know how to fetch post images sizes via MYSQL Query?

i am developing a web-services using PHP with adodb classes. what i trying to do is that i need the image sizes of the post i.e(thumbnail, medium, large) size. I am able to fetch the post original ...
0
votes
2answers
109 views

Hooking into the post editing screen for an existing page only

I am working on a Wordpress theme that hides the default WYSIWYG editor and replaces it with a custom module system which is fine and dandy, but I've come to the realisation if someone were to use the ...
0
votes
1answer
50 views

How to display posts on a static page? (like search loop)

How do I display the loop inside a static page? Like the loop when I use the search (which in this theme it's actually working) or on index.php An example for what I'm saying can be seen here: ...
0
votes
0answers
15 views

grab and save ,remote file to wordpress attachement

i've tried to edit Grab and Save plugin : http://wordpress.org/extend/plugins/save-grab/ it works only for image grabbing only, i want it to grab other files like abr rar zip etc... when i edit this ...
0
votes
0answers
19 views

Instead of showing the post it just shows the URL

When I tried to share this link http://www.j1studios.com/archives/6032 on Facebook, it would just repeat the URL and not show the title of the post, or the image. It's as if the link is broken.
0
votes
0answers
17 views

How to display links from my post on my home page

I would like only links from a post to appear on my homepage. Then when the user clicks the link it will take them to the actual post. Similar to www.rr.com homepage. Any help will be appreciated. In ...
0
votes
1answer
47 views

wp_query select if have comments

I previously asked and accepted a similar question here: wp_query and comment_parent - select only posts with top level comments So I'm trying to use wp_query to select only posts that have comments. ...
0
votes
2answers
97 views

One comment per user email per post

i have this code to limit the comments per user. <!-- #only one comment --> <?php global $current_user,$post; $args = array('user_id' => $current_user->ID,'post_id' => ...
0
votes
1answer
38 views

How to let custom post type posts show in standard post archive (like in homepage)?

If I, for example, create a custom post type named 'tutorial', how do I get it to also show up in places like "Recent posts" , etc?
0
votes
1answer
46 views

How safe is it to delete old posts edits to save database space?

After this question: http://wordpress.stackexchange.com/a/93902/27148 There is an answer that suggests deleting past edits directly from database, which would be nice, because I could create ...
1
vote
2answers
41 views

How to delete old posts' edits to save space?

I need to delete old edits and autosave, they have grown overtime, and are not needed anymore, seeing this post: http://wordpress.stackexchange.com/a/67228/27148 it states: If you have no use ...
0
votes
1answer
51 views

Getting rid of the blog page entirely

My goal is to not use a separate blog page but end up with a structure like this... http://domain.tld/page/comments/ I believe I can do this with the Cornerstone plugin ~ [ ...
0
votes
1answer
56 views

How to extract images of post and pages excluding header and logo image in wordpress?

I have tried this code to get all images from media library and i am sucessfully getting the source urls of all the images but now i want to exclude all the unwanted images like logo, header images ...
1
vote
1answer
42 views

Limit popular posts by days

I am using this get_posts array to retrieve top 15 popular posts by comments. The problem is that it shows those all those highly commented posts from the day posts were added into blog. So, the list ...
0
votes
2answers
33 views

How to find what index page a post is on?

Here is a simple example of what I am wanting to figure out. Say I have WordPress set to show 5 posts per page. And say I there is a post 17 posts back chronologically. The formula would be 17 / 5 ...
0
votes
1answer
45 views

get_post_meta property of non object

I am getting a custom field outside the loop in header.php. I get the custom field just fine but I found that when the custom field is empty, I get an error message Trying to get property of ...
0
votes
1answer
59 views

How to allow logged in users to post anonymously

I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
1
vote
1answer
66 views

Remove post_tag from default post type, add custom taxonomy

I've been searching for a while for an answer to this, but the results I find always deal with custom post types as opposed to the built-in 'post' post type. I want to remove the default 'Post Tags' ...
0
votes
1answer
41 views

How do I allow certain users to make a certain type of post?

Here's a brief summary of how my site is setup: I have a relatively simple Intranet site. Right now I am utilizing posts as a means to provide news to users. I am also using pages. I only want ...
0
votes
0answers
43 views

problem with infinite scrolling and post loading [closed]

when i changed hosting i am getting a problem as in my homepage 12 posts only loading,coded for infinite loading posts with scrolling down.no plugin i used for posts infinite scrolling. but the same ...
0
votes
3answers
50 views

Am I mixing up the concept of posts pages and categories?

I'm planning on having workshops on this layout: I have several workshops: Meditation has 2 or 3, Reikki has 2 and Feng Shui has a couple. So as I read the codex about pages and categories I get ...
0
votes
1answer
41 views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently ...
1
vote
0answers
64 views

metabox / select custom post in custom post list to display metavalues only the selected cpt

So i have a "select post field" in a dropdown list to select "artist custom post" on a "gallery custom post" and i want to display the photos (from my gallery custom post) only on the selected ...
0
votes
0answers
23 views

add text to posts and pages automatically

i wanted to be automatically added specific text to the POSTS and PAGES while publishing, then inserted the codes into functions.php: function add_before_content($content) { if ( 'post' == ...
2
votes
1answer
32 views

Display the Content of a Post with qTip2

How would/should I use qTip2 to display the the_content(); of a WordPress post? I've been trying to accomplish this for a month now. I got it working once, but it wouldn't display the content that ...
1
vote
1answer
38 views

How to show single post page as home page

I want to start a funny images website but I have come across a dilemma. I want the website to display 1 post ( not the thumbnail) but the full post on the home page. (the most recent post). Similar ...
0
votes
0answers
110 views

Echo Custom Post Types - show project with taxonomy/category x on template y

I only want to show up projects with specific IDs. Now I have a filter, which allows me to select between different preseted taxonomies. Fine so far. On on specific template.php I want to show up just ...
0
votes
0answers
28 views

display sub categories assoccited with each post in a category archive page

i have wordpress blog with many posts. each posts associated with many categories and sub categories. i want to display sub categories assoccited with each post in a category archive page. for ...
0
votes
0answers
27 views

Visual Mode doesn't Work

The "visual" tab when editing posts appears but when I click on it it doesn't do anything. I've tried disabling all plugins, disabling visual mode then clearing cache then reenabling visual mode, ...
6
votes
2answers
110 views

How to prevent a post from being deleted?

For auditing issue, I only want a post can be trashed, but not deleted - for all users. So I have a plugin like add_action('before_delete_post', function($id) { wp_die(0); }); But ...
0
votes
1answer
30 views

Blog posts not displaying

on my Wordpress site on the first page I always get my posts displaying however when I navigate to my 'Blog' page with my blog template attached to it I cant get my posts to display here. I used a ...
0
votes
2answers
140 views

Removing any and all inline styles from the_content()

For one of my current projects, I had to transfer blogposts from an old Wordpress site to my project. Things went smoothly until I've seen that all the posts were copy pasted from Word, leaving this ...
0
votes
0answers
33 views

custom siderbar with custom cat post widget does not include content

I am trying to make a template with a left sidebar. In that sidebar I want to insert custom cat post query using a text widget so I can format it correctly the way I want. However when I do The ...
0
votes
1answer
36 views

Dynamically change post_parent in every page load?

What's the correct Wordpress action where I can hook to dynamically change the post_parent of a post? I understand that a post can't have multiple parents so that's the only way I can think of to ...
0
votes
2answers
52 views

How to highlight most recent posts in a list

I want to be able to highlight the most recent post in a list of recent posts. By highlight I mean bold or style slightly differently from the other posts. This is the code I use now: ...
0
votes
1answer
41 views

How do I get the Wordpress post to display the content instead of an image?

I am working on migrating a Wordpress site to a test server. I imported all of the content & settings, and verified that every setting is the same as the old site. However, I'm having a problem ...
0
votes
1answer
114 views

WP the_posts() on single-cars.php get category link

I have a custom post type called cars. There is a taxonomy brands. I have a template single-cars.php and I'd like to add a link to the brand page(The category). Assume I'm on the page of the post ...
0
votes
1answer
138 views

Update content of multiple pages/posts at once?

Is this possible? using shortcodes? Custom post type? Custom Fields? CSV upload? Unique content per page. Do not need to create new pages, Just update body of them. Seems like a tough one? Also can ...
2
votes
2answers
68 views

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I'm looking to build out the following functionality, but I'm having trouble finding any help on it: user follows a post > user's email is pulled into an admin page and associated with said post > ...
0
votes
0answers
102 views

Custom post types and custom taxonomy posts are not showing

I have got a post type set up called 'shops', attached to this is a taxonomy called 'Types'. When you search through each category in the category menu it looks for the posts and displays them in a ...
0
votes
0answers
10 views

pres releases, wordpress, business processes [closed]

I am a student at University of national an world economy, Bulgaria, majoring in Business Informatics and I write a thesis on systems for publishing press releases, but I can not find materials on ...
0
votes
1answer
26 views

Filter post before *editing*

I know there are a lot of hooks in WP for altering a posts content (and other fields) before the post is written to the DB upon saving; but what I am interested in doing is running my custom filter ...
0
votes
1answer
24 views

Is there a way to display others posts in my post?

Is there a way I can pull in the content from another post into my own post without writing code? What I mean is that I have created a post called, "Apple post". I also created a post called, ...
0
votes
2answers
141 views

Get all posts by post_author

I am creating a back-end dashboard where I need to show all the post assigned to current user by the wp admin. I assign user role to Author and while creating post (as a wp admin) just assign ...
1
vote
1answer
35 views

search posts by post author name

I want to search posts publish by particular author. for this purpose i add a filter in funcions.php as function wpse_29570_where_filter($where){ global $wpdb; if( is_search() ) { ...

1 2 3 4 5 36