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
8 views

Admin Post List Only Show One Category

I want a user to only be able to view a single category type when clicking "posts" in admin. I've tried messing with list_terms_exclusions, but that only seems to be effecting the category management ...
0
votes
0answers
34 views

New posts not showing up on homepage

I'm experiencing a strange problem. None of the new posts are appearing on the home page. Here you can see the last post is from 21 January. That is the day I transfered the site from one host to ...
0
votes
0answers
7 views

Wordpress Post Content Display

In my post page, used gallery on post plugin to display images , while i m trying to retrieve the post content -used the_content , but showing the plugin images also. how i get text editor content ...
0
votes
0answers
7 views

wp_update_post creating revisions instead of updating the post

I have been trying to update a post in the posts table but for some reason, it is creating a multiple number of revisions but not updating the main post. I have been trying hard for the last one day ...
0
votes
1answer
29 views

How do you get all the urls of images attached to a post?

I've searched high and low and can't seem to get it. I'm trying to output an XML feed with all the images attached to a post from a custom post type: </BasicDetails> <Pictures> ...
0
votes
2answers
529 views

WP Query - duplicated posts once including tags in search results

I running WordPress on IIS & SQL server. As some of the plugins do not work correctly with DB ABSTRACTION I am using a lot of functions.php filters as so on. To make my search results include ...
0
votes
1answer
27 views

erase post excerpt limitation [×]

i have a custom site in homepage have problem of post excerpt with max 35 word, now i want eliminate this limitation, after search in varius file the limitation and after individuate i have changed ...
4
votes
1answer
374 views

Customizing HTML Editor Quicktags button to open a dialog for choosing insert options

I am looking for adding custom quicktag buttons,that would allow me to display a intermediary dialog before inserting the code. Situation 1) Clicking a quicktag button opens a dialog or thickbox ...
-1
votes
0answers
12 views

Editing the Post meta

I am trying to add some content to the post-meta. I have added two link to the loop and it's been showing in the post as the single page is calling it. However I can't seem to find where to add the ...
3
votes
1answer
313 views

Change post format using custom field

I'm creating a theme using the CF Post Formats plugin. But I've run into some trouble I don't know how to solve. Here's what I want to be able to do: Create a new standard-format post Enter a url ...
0
votes
0answers
17 views

Published content not displaying, getting not found message

I am posting data in wordpress but after click on public it is showing This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps searching, or one of the ...
0
votes
0answers
12 views

How can I have preview of articles divided in categories in one page?

I have now 8 categories and each I will have more than 20 articles (posts). In my homepage I wanna show all categories with 3 newest post in it. When I create new post/article, I wanna automatically ...
0
votes
3answers
493 views

Getting index.php instead single.php for displaying posts

I'm (locally) building a custom theme. So far I have: index.php single.php page.php custom page template called about-page.php two different headers: one for default use and one for the single.php ...
0
votes
1answer
14 views

get_posts not pulling the correct number of posts

I am using the BracketPress plugin and trying to pull all of the posts of post_type brackets so I can send a newsletter blast to everyone with their current leaderboard position. However the get_posts ...
0
votes
0answers
11 views

Displaying randomly created meta values in wysiwig editor

I have already asked this question on stack overflow but I'm asking it once again here because i haven't found a solution to it yet. I am creating custom meta info for a post that will have null ...
0
votes
0answers
20 views

Changing a field value on submit using a PHP variable

Preface: Ok, I know people are going to tell me "use JavaScript" To you people I'll say "No! I don't want to!" but I have a valid reason: Problem overview: I have a plugin which ...
0
votes
1answer
404 views

When using Tribe Events Calendar, querying for a specific event category returns nothing

I'm still new to wordpress and I'm trying to write a plugin but for some reason this code is producing nothing. Why? I am completely stumped. I have followed the examples here to a tee. <?php ...
1
vote
1answer
29 views

How could I change my Permalink from blog to custom structure? [on hold]

When I install multi wordpress site I have a problem that my default site permalink goes to http://site.myurl.com/blog/post-name/ I want to change it so that it goes to a custom link like this: ...
0
votes
2answers
31 views

Dynamically generate child-URLs for posts or custom posts

How can I have a post (or custom post) with a definite URL: www.test.com/category/post-name and a child-URL referring to a specific section of that post www.test.com/category/post-name/sub-url ...
-1
votes
0answers
16 views

Single template for posts outside of WordPress

I could really do with some help. I have a site that is currently flat HTML with a flat news section, I am turning the site in to PHP and integrating WordPress into just the news section, not the ...
0
votes
1answer
8 views

Custom Post Type URL Rewriting

I would like to add parameter to custom post type posts So I need to do my url like that. http://www.mywebsite.com/mycpt-slug/post-slug/myparameter I found this solution but here it's work with post ...
0
votes
2answers
315 views

Conditionally exclude post from specific category on home page sidebar?

I want to exclude posts from one category. These posts should not show in the sidebar on the homepage only when I explicitly don't want that particular posts to show. In all other cases these posts ...
0
votes
2answers
103 views

Why does rewrite rule work for page not for custom post type post?

Update: I read that a custom rewrite rule might be overridden and drop any parameter variables, when the custom rewrite rule is used on a child/parent page/post. The post my custom rewrite rule is ...
-5
votes
0answers
16 views

How to Add Text Below Products on Store Page? [closed]

Here's a screenshot of the page: http://i.imgur.com/zfQTeit.jpg I need to add text below the products for coupon information. Does anyone know how to do this? All text I add ends up above the images. ...
1
vote
3answers
2k views

Wordpress removing <p> tags?

I'd already come across a case where Wordpress added <p> tags. However now I'm dealing with the opposite situation. When I add [] shortcodes inside <p> tags WordPress automatically removes ...
1
vote
2answers
532 views

How can a guest view the “Pending Review” Post?

When a user creates a new post it will have "pending" status. So I want the visitor (guest - not logged user) to be able to view "Pending" posts and vote it to "Publish" if enough "X Votes". Google ...
5
votes
2answers
709 views

How to display by default only published posts/pages in the admin area?

As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is. I have a lot of drafts, but usually I'm much more ...
-2
votes
0answers
17 views

how do I display individual posts in the featured area

Hi I am new to theme development and am building a wordpress featured area that looks kinda like the verge/ polygon etc... The problem is that individual posts have different colour blocks and their ...
0
votes
1answer
9 views

how to chang preview of list of articles of one category?

I have downloaded wp tempalte demo where I have articles dive into different categories. Each category has its own button in main menu. When I click to show the category, list of its articles are show ...
0
votes
2answers
1k views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
1answer
26 views

Get featured image on hover of post title [closed]

I need to get respective featured image on hovering of post title is there any plugin to achieve this I tried geting this by using Js and CSS but failed to achieve.Searched through Googe and WSE too ...
0
votes
0answers
10 views

How to render custom fields types that are available in custom fileds

I have a custom post type News created by custom post type plugins and i have added some fields like text, textarea, image, file, wisyywig editor etc using admin panel. now my problem is : i have a ...
0
votes
0answers
14 views

Category dropdown appears on the selection of post from the post dropdown [closed]

I am using gravity forms to create a form in which I want to make two drop downs. posts categories If the post is selected from the dropdown the category to which it is assigned should ...
0
votes
0answers
18 views

Category to populate dynamically [closed]

Desperately need help for a snippet. I have already included the list of posts as a dropdown list. I just want a way to get the category to which the post has been assigned populate dynamically. I ...
3
votes
1answer
994 views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
0
votes
0answers
13 views

Synchronize post (custom) across multisite?

I have a multisite web, created due to multi-language environment. Each web symbolizes the country, language, currency and pricing policy. But I need to do to when a user adds a new custom post ...
0
votes
0answers
16 views

Youtube videos not playing on my site on mobile [closed]

I have my own youtube channel and videos, and I embed them into my posts but iOS users can't play them. Any ideas?
0
votes
2answers
469 views

Insert data from custom created PHP page into wp_postmeta table

I am working with a Wordpress site and have created a custom page in /home/planmyme/public_html/php/ with the name response.php. On this page I am getting a value to insert in the wp_postmeta table ...
-2
votes
0answers
13 views

Wordpress post slider layout template [closed]

I dont want to reinvent the wheel, is there any plugin which has the same layout as the image below... <p>slider layout</p>
1
vote
1answer
2k views

Set posts of a custom post type to be private by default?

Say I created a custom post type called 'Private Posts' ($post_type = itsme_private_posts) and want all posts under the custom post type to be set to 'Private' automatically when published i.e. by ...
0
votes
1answer
16 views

Change website directory safely to add a static page on startup

I have a blog http://aamirshahzad.net I want to have a static HTML page on start-up before user may see the blog. For that I am planing to move my whole site to http://aamirshahzad.net/web/ and want ...
0
votes
1answer
27 views

What are the benefits of setting a “featured image” for a WP blog post?

I read about the WordPress "featured image" feature but I didn't understand the benefits of it yet. Does it change the blogs theme layout or is it just used for the blog post layout?
0
votes
1answer
28 views

How to style the last post on the front page different than the others?

I would like the last post of the front page to be styled differently than the rest, how could I achive this? This is the index.php <?php get_header(); ?> <?php if ( have_posts() ) : ?> ...
0
votes
1answer
15 views

How get top post view for today for today post

I insert today 20 post for example. And i need to get top post that show today from today post. I try this code but its show me top post view for all time. But I need only for today post. $day = ...
0
votes
1answer
74 views

When WP_Query only returns 1 post, how do I automatically redirect to that post?

I've been searching around for a few hours now and can't figure out how to do this. Seems really simple. I've seen lots of redundant examples on how to redirect to a single post when a search result ...
0
votes
1answer
357 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is ...
0
votes
0answers
15 views

I want to list my custom taxonomy with a custom post type in a plugin

I've created a simple plugin for a custom post type. What fully works with an arhive page and a single page. Now I'm trying to add ann taxonomy to the custom post type. // Register Custom Taxonomy ...
-1
votes
0answers
6 views

Check if viewing 1st or last post of a category and do something

Hi i need to check if viewing the 1st or last post of a Category, to echo a bit of code... how can I achieve this?? Im very unexperienced an appreaciate any help to understand how to code this. I ...
0
votes
1answer
12 views

Different email notifications (about pending posts) to different users

I looking for something like this: I have two (or more) groups of users. Each group is responsible to different person. So e.g. if someone from group A send draft, person responsible to group A get ...
0
votes
2answers
323 views

Underscores.me retrieve next / previous post thumbnail in post_nav function

I am using Underscores.me for a project. I'd like to add the featured image (thumbnail) to the previous / next post links. They have a function which I'm trying to edit called THEMENAME_post_nav(). I ...