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
1answer
18 views

Get post category as a separate string and url

I need to figure out how to get post category as a string and link, both separate from each other. So the return would be something like: Uncategorized http://link-to-the-category.com however both ...
0
votes
0answers
4 views

Are there some permalink typology betther than other for SEO indexing? [migrated]

I am pretty new in WordPress and on my blog I am using permalink. I have see that there is 5 typology of permalink and I don't know if some type are bettere than other for the search engine that have ...
0
votes
1answer
32 views

How can I create a menu items from meta box based on users input

I have created a metabox that takes a name that the user can give as an additional name of their post. I am wondering how I can automatically create a menu item based on the name the user input into ...
0
votes
1answer
20 views

Finding a post's slug

I'm using wp_query() to get custom posts from the database. I want to list these out as links to the entries, so I'm thinking I could use the slugs. Sadly these don't seem to be included in the ...
0
votes
1answer
63 views

Get post meta retrieving wrong value

I created a custom meta box with a textbox where the user can enter a custom value in as an additional identification tag. I thought I had it right but when I try to retrieve the value it is giving me ...
0
votes
0answers
25 views

Can I set a CPT title field to a dropdown with preset options if user is of a given type?

I am using the WP Property plugin so I have a Property CPT. I also have building managers who will be creating these new CPT posts. Is it possible to set the post title field to be a dropdown field ...
2
votes
2answers
54 views

How can I add dropdown widget/box to admin post page?

I am trying to figure out how to add a dropdown widget to the post page. The reason I ask is because I would like to be able to have a few different post classes that the user can select while making ...
1
vote
1answer
59 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 ...
0
votes
1answer
56 views

Count user posts and store the number for later use

I want to count author posts and store this number for later use even if some of the posts have been deleted in the meantime. $rows = $wpdb->get_results( $wpdb->prepare( "SELECT post_status, ...
0
votes
1answer
38 views

Adding a custom post type meta field to rss

So I added my videos custom post type to my rss feed via this code. //Add videos custom post type function myfeed_request($qv) { if (isset($qv['feed']) && !isset($qv['post_type'])) ...
0
votes
1answer
30 views

Capturing POST data

I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table. Basically I wanted to change the administration menu with a form that can ...
0
votes
0answers
70 views

WP 3.5.1 password protected not working for post

After adding right password fornt side wp, post not open and it's say Not Found Apologies, but the page you requested could not be found. Perhaps searching will help. how to solve this?
0
votes
1answer
24 views

Get only X number of categories

How can i get only x number of categories using the_category. I triesd a few thing but none worked. I dont want to use get_the_category
0
votes
1answer
28 views

Change Post Status From Front End

I am using the code in a page below to let users delete their posts from the front in. I have wp-admin totally blocked off to site users. What i want to do is when they click the delete button the ...
1
vote
0answers
31 views

Wordpress capabilities on pending post status

I have user with contributor user role. In default if you publish article as contributor you can only view it and you can't delete or edit it. But when you submit new post for review, you can do all ...
0
votes
0answers
47 views

Special Query: Title, Terms, Content - %LIKE%

I'm working on a them theme that is search-heavy, and my users are putting huge priority on an improved search function. I think I will have to use a special direct query to search these things: ...
0
votes
0answers
35 views

Avoid duplicate posts from sidebar widget on homepage?

In a normal dynamic sidebar of a theme's homepage template the sidebar widgets display lots of duplicate posts on the front page. It shows "recent posts" and posts from certain categories in main ...
0
votes
0answers
20 views

TCPDF and permalinks

I am currently using a post to pdf plugin 'Hacklog down as pdf' which works ok. I've used it before in a current working environment. It suddenly stopped working but I have found out that when ...
0
votes
1answer
24 views

Is that possible put a whole POST in a list ,<li>

I want a whole post content into a list. The result i want like this: <ul> <li>the fist Post </li> <li>the second Post </li> <li>the third Post </li> ...
0
votes
2answers
26 views

How can i show only 30% of the “the_content(”More…“)”?

I'm trying to make a page that has all the posts in it and shows 30% or less of the content of the post. So I'm editing a page template and I can't figure out how to show only 30% of the content. I'm ...
2
votes
1answer
64 views

Restrict access to post if it is currently being edited

On a platform with many Editors, the problem that I am experiencing is that two editors proofread the same post simultaneously (and disregarding the warning notice about someone else currently editing ...
0
votes
0answers
23 views

How to delete many posts or CPTs at once

For test purposes I often create many posts on my local site. Sometimes I need to clean everything and it takes ages to remove posts screen by screen. Is there a faster way?
0
votes
0answers
25 views

Cant retrieve $_POST inside page, just header

Here is the full code: http://codepad.org/BpqQ3Xm0 Line 113, I am sending $_POST["popust"] ; And I use it to compare value at the top -line 33. But if I want to echo it, print_r, var_dump, inside ...
0
votes
1answer
170 views

Open WordPress Posts in Bootstrap Modal

I am looking for some assistance in opening WordPress posts in the Bootstrap Modal. Right now I have a home page with a grid that pull posts. I have it setup so that each post is in a square box and ...
0
votes
1answer
42 views

What is wrong with this wp_query?

I need to query posts by two meta fields and the wo_query I'm doing it with is returning nothing. Obviously, it's broken. Can somebody tell me what I'm doing wrong? $args = array( ...
0
votes
1answer
30 views

delete_post hook - deleting multiple items

I am using delete_post hook. add_action('delete_post', array($this, 'remove_audio_file')); // delete post event (Using it inside the class). When I delete a single post I have no problem ...
0
votes
1answer
26 views

unused post IDs

Recently I installed plugin called Delete-Revision and noticed that every post has registered few post IDs. I usually use save drafts and update post a few times when I write a post. Here's the ...
0
votes
0answers
25 views

Get Related Posts (custom post type) of Custom Taxonomy, Most to Least?

I'm working on an image page feature which retrieves the MOST related posts ("image" custom post type). So images with most terms in common should be listed first. But this does not seem to be ...
-1
votes
1answer
36 views

query_post or single-[cpt].php?

php query_posts( 'post_type=listing'); Or single-listing.php? According to my reading I have presumed that to display a custom post type all I need to do is copy my single.php and rename it ...
0
votes
0answers
14 views

How to display related post with custom post type detail page?

global $post; $terms = get_the_terms( $post->ID , 'product_tags', 'string'); $do_not_duplicate[] = $post->ID; if(!empty($terms)){ echo ...
0
votes
1answer
30 views

Problem with articles feed: XML Parsing Error: XML or text declaration not at start of entity

I have a problem with WordPress articles feed. I have discover it analyzing what googlebot is scanning on my site and I disconvered that it is scanning only the feed and not the articles... So I have ...
0
votes
0answers
23 views

Dissapered all posts by 2013 year

Dissaperd all posts posted in 2013. There are no posts, images and tags for this year. I've checked it in the phpMyAdmin and find them. But they don't shows in administrtor panel. Any idea? Thanks!
1
vote
1answer
130 views

WP_Query with ajax handler returns the same posts

I have a problem that is getting me bald atm. I have a ajax call that handles a loop that handles some querys and returns posts for me. So far so good, but the first time the user sees the page we ...
0
votes
1answer
17 views

How can I count articles retrieved by tags

how can i get posts retrieved by tags, I want to count them. The code i want to use in tabs. Ex: Movies(3) , Articles(15) Movies and Articles are Tabs. I know how to retrieve the count of posts ...
0
votes
1answer
22 views

Query for first 3 posts to change the look and feel

Is there a way to query for the first three recent posts and then change how they display on the front page? I want the first three posts of my blog to show differently than the rest of them i.e. ...
0
votes
0answers
25 views

Memory Use in Custom Post Type, Listing All in Admin [closed]

I have a question regarding memory in listing posts. When you click a tab "List All" logically it should not use a lot of memory. A simple query, a simple list. Yet I find 256 megabytes of memory is ...
0
votes
1answer
32 views

Show the title of the latest post by author

I have the following function which I use to show the author name,author avatar and the author biography in a div. I need to show the title of the latest post by the author along with this. Can anyone ...
8
votes
3answers
165 views

How to change the case of all post titles to “Title Case”

I am helping my father with his WordPress website. It has over 1,700 posts with TITLES IN UPPERCASE. We'd like to change these to "Title Case" in the database (possibly using this PHP script). The ...
0
votes
0answers
26 views

Match tags against posts that contain a custom field tag value

I wish to crossreference specific tags with my posts in order to create a tag list of certain values. In this particular case, some of the tags are company names, and I want these names output in a ...
0
votes
1answer
46 views

Import custom database into wp and keep the post id

Hello guys I have a project where I need to import an old database to wp but I need a solution to keep the old id's as posts id so i can make the links look the same as the old website in this way we ...
0
votes
0answers
17 views

2) Adding Page Attributes Metabox and Page Templates to the Posts Edit Page? [duplicate]

I cannot ask directly to the post.. So I will try to ask here. On the Question: Adding Page Attributes Metabox and Page Templates to the Posts Edit Page? On Answer 3 There is a breakdown of 7 steps. ...
0
votes
0answers
37 views

Remove featured image link not working

I added a featured image to my post through set featured link in backend. Not when i click on remove featured image, it removes it . But when i update the post then, The featured image still comes ...
1
vote
2answers
46 views

Dynamically add id to heading tags

How do I add an id attribute dynamically to every heading tag on a wordpress website using php? I wanted to make it so that for every heading tag (h1, h2, h3, h4, h5, h6) I have a unique id attached ...
0
votes
0answers
75 views

Strange problems when I try to insert HTML\XML code snippet in my posts

I am experiencing some problems while trying to insert XML code snippet into my WordPress articles. I have just read this tutorial: http://codex.wordpress.org/Writing_Code_in_Your_Posts I am using ...
0
votes
3answers
52 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
40 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
74 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
43 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
36 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 ...

1 2 3 4 5 35