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
0answers
13 views

Allow Editor to Select Content From a Post Category Dropdown List (Advanced Custom Fields)

I'm sure something like this has been done before, but I cannot find the right search terms to find it. Right above my footer on pages, I want to output a single post's content from a given category, ...
0
votes
1answer
15 views

Expired Post with More Recent Time Stamp?

Im having issues with custom posts not showing in worpdress. I see in my posts table theres two enters for each custom post X - Has a date Jan14th- 2:06pm - post_status: expired Y - Has a date ...
0
votes
1answer
21 views

Weird Behaviour: Not all Wordpress Posts appearing

My wordpress posts have vanished on my dashboard but remain in the database? Meaning I have many 404 errors. All (52) | Published (4) | Drafts (7) | Trash (2) TOTAL =11 items (Note how theres only ...
6
votes
1answer
56 views

Hook that get's triggered when the author of a post is changed

Is there any hook that gets trigged when the author of a post is modified from the edit post screen? I can list to the update post hook, but then I will not know whether the author of the post was ...
0
votes
1answer
17 views

Published custom posts missing

On my wordpress dashboard I noticed a large number of past posts were missing. All (708) | Published (386) | Drafts (17) | Pending (8) | Private (1) | Trash (3) - Total 412 Our items are custom ...
-1
votes
1answer
25 views

remove description in colum title post

I encountered a problem in the wordpress admin.in Post-> all post.it born a description that I wanted to give it.can i help me?
0
votes
0answers
24 views

Click on a post and it takes 20 seconds or so to load

I started this post this morning, saw some possible solutions - mysqlnd for instance, which I implemented, no improvement. I've made no changes - that I can recall - and now my posts are loading very ...
0
votes
0answers
99 views

Add Read More Tag to a post content (Single.php)

I have wordpress custom theme made from scratch including: header.php, footer.php, single.php, index.php, functions.php For Listing the blog list i used index.php with excerpt and read more link to ...
0
votes
1answer
30 views

Counter is skipping post when I still want it visible [closed]

I am showing the 5 latest posts on my homepage. I am using a count so that on the 3rd post it shows a div which will be completely seperate to the blog posts. However rather than the 3rd post ...
0
votes
0answers
28 views

How to filter Wordpress menu by tag name of the post

I have a simple wordpress theme installed on my server. The url is : http://urhalpool.com/wp/ I have used tagging against my post and those post added to my top and left menu. When I am filtering by ...
0
votes
1answer
16 views

$wpdb returns duplicate posts

I have created a shortcode which shows the posts which were created after the user last logged in. The shortcode is working perfectly fine, but I am not sure why but I am getting 7 duplicate posts. So ...
0
votes
1answer
26 views

How to avoid duplicates when creating recent network posts

I'm using this code to get a list of custom posts (with custom fields) from the network for display in a php widget. It's old, but it's working fine: <?php switch_to_blog(4); ?> <?php $ca = ...
0
votes
0answers
16 views

Positioning issues with postbox-containers within my posts

I have two postbox-containers: <div id="postbox-container-1" class="postbox-container"> <div id="side-sortables" class="meta-box-sortables" style=""> ... </div> </div> ...
2
votes
1answer
32 views

Keep a fluid max number of posts on site

I'm trying to figure out how to set the max number of posts allowed across the site, but keep it fluid by sending old posts to the bin when a new post is over the limit. (I'm trying to stop the ...
0
votes
0answers
27 views

Post preview in iframe without saving the post

I aim to make a live preview inside an iframe of the current edit post. The preview should render the post content only. Thats why I guess an iframe is actually a good idea. The frontend includes ...
0
votes
1answer
86 views

How to display two random-post sections that are each under their own category

<?php get_header(); ?> <div id="containerHOME"> <div id="left-div"> <!--Begin Sidebar--> <div id="left-inside"> <?php if (get_option('earthlytouch_featured') == ...
0
votes
0answers
6 views

Change “Team” slug on a template post type

thanks in advance. I have a great template that works well for our business. However, I don't want the team members page slug to be /team/[name] - instead, I want it to be /barristers/[barrister ...
0
votes
2answers
33 views

Post thumbnail is not shown in wp-admin

I am currently working on a theme for a client and now just got into a problem: When I want to set an image (also existing/already uploaded images don't work) the editor just not accept it and don't ...
0
votes
2answers
30 views

generate unique slug while inserting post

How can i create unique slug while inserting a new post.. I know i can query posts and compare the records to create unique slug but I want to insert a post with unique slug at the same time. Lets ...
-1
votes
1answer
45 views

Wordpress limit post that subscriber can create

Hi my wordpress users are able to submit posts. But I want to limit the number of posts that they can submit. Can you help me? I already tried ...
0
votes
1answer
22 views

Export Posts with specific custom fields by sql

My development site has posts with custom fields. Meanwhile my live site has more posts added while I'm working on my development site. Now I want to export posts with specific custom fields from live ...
0
votes
1answer
23 views

cleaning out posts that don't exist anymore but links are still there

First off I'll start by saying i think my site was hacked... Today i was looking at my jetpack site stats and it said i had a huge amount of visitors. a lot more than i usually do.. jet pack said that ...
0
votes
0answers
29 views

Different post types arranged on one page

Lets say I have a wp-site with three pages: "Home", "Project" and "About". "Home" and "About" are static pages, and "Project" has sub-pages. I want to add content to the sub-pages, in form of posts, ...
0
votes
1answer
28 views

get_page_by_title() not working if special characters are present

get_page_by_title works fine on plain text title. but when it comes to smart quotes and symbols like # it doesn't work. It fails to find post with the given title. For Example:- ...
0
votes
0answers
50 views

Archive.php won't show posts

Hey there:) I can't figure out why my posts is not showing up in my archive.php page(news). I wrote this code in archive.php <?php /** * @package copenhell */ get_header(); ?> <div ...
0
votes
0answers
7 views

web.com/post/post-title redirects to web.com/post-title

I'm having a complain of the SEO guy because a post url is not like this web.com/post/post-title But like this web.com/post-title And even web.com/post/post-title redirects to web.com/post-title ...
0
votes
0answers
21 views

Display posts from the same child taxonomy as the current post

I’m following this tutorial I have two custom taxonomies (events / centers), with their respective child taxonomies ( event1, event2… / center1, center2…). What should I change to display posts from ...
0
votes
0answers
17 views

Custom fields in normal posts

I have created numerous custom fields for custom post types, but I am a loss at how to do it for normal post types. The codex suggests doing it with in admin section but this seems to only apply to ...
0
votes
0answers
14 views

Set post beginning date and final date

I'm developing a website that is like a Advertisements System. I tried to use Post Expirator but it doesn't work the way we need. It must set a BEGINNING DATE and EXPIRATE DATE. Because will be A ...
0
votes
0answers
51 views

Dynamic form variables for post meta

I am trying to create a dynamic form in the wordpress admin where I can add a line and still be able to process the variables into the database as post meta. I've done quite a bit of research and ...
0
votes
0answers
31 views

Dump all posts to file via WordPress JSON API?

I would like to dump all posts to a JSON file so I can include it in my mobile app project. That way, the app can work offline for the most part, then I just have to query new and modified posts from ...
0
votes
1answer
62 views

Exclude posts that only have the 'Uncategorized' category [duplicate]

I want to exclude posts that only have the Uncategorized category (i.e. category id 1), but if a post is (erroneously) categorised as "Uncategorized" but also has other categories, I want to include ...
-3
votes
1answer
37 views

How to add thumbnails in posts on homepage?

This is preview of a post on my friends site : and this on my site : Please tell me how to add thumbnail like that ?
-1
votes
1answer
47 views

Post as frontpage - avoid duplicate content

On one of my WP sites I display a single post on the homepage. It's hard coded in the index.php like: If is home then show post with ID X But now I have the post's content on the homepage but ...
0
votes
1answer
28 views

Modify WordPress loop after it has been run

I am trying to build a category page that displays 8 posts from the category, but when the user clicks on "Read More" (which does an Ajax request and displays more posts), I would like the loop to ...
0
votes
0answers
19 views

Post comments getting added to unrelated media, not post

I'm in the process of setting up and testing a new WP install (this is my first time setting up my own WP site). With a test user I added a comment to a post. After refreshing the post page a few ...
1
vote
1answer
72 views

Creating bulk posts with Youtube videos

I'm a bit new to Wordpress and I'm a bit lost reading all sort of docs about creating bulk posts using PHP. I've wrote a small code that using Youtube API v3 to get all the videos from a Youtube ...
-1
votes
1answer
40 views

Custom post order returning posts from other categories

I am trying to order each post in a category by custom field (using Advanced Custom Fields Plugin) $the_query = new WP_Query(array( 'posts_per_page' => -1, 'meta_key' => 'adult_price', ...
0
votes
0answers
37 views

Loading index.php contents which located outside blog folder for post single page

I'm creating blog page as WordPress for my static PHP website. When blog page URL changes to pretty permalink (example.com/blog/my-post-page), loading contents (not redirecting to index.php, only ...
0
votes
1answer
33 views

How to get next_posts_link working with a customised page

I have a customised page using a template and am trying to make use of next_posts_link and previous_posts_link to have buttons at the bottom of the news page. Trouble is when clicking on them it ...
1
vote
1answer
39 views

Allow users to create posts without logging in?

I am working on a site where users can share their story. Every story is a blog post. I don't want that they mail me the story and I publish them, I want to provide them a form where they provide the ...
0
votes
1answer
35 views

How to display multiple images from the post on the homepage

I have a wordpress question. Each post has multiple thumbnails, company logo and description. See the mockup: http://d.pr/i/19rBb And on the homepage, I would like to display all the thumbnails ...
0
votes
0answers
37 views

Change wordpress blog post permalink structure

My blog post URL consits of Website Name % Year % Month % Post Name. If i update any post, it does take the new Date as the post URL. Is there a way so that i can change the Permalink structure ...
0
votes
0answers
14 views

Custom URL Structure for posts with subcategories

I have a website with the following structure in Posts: 14k-gold-silver - Symphony - Noir 14k-gold-diamond -forever classic -bridal Now I added some itemes to each of the sub categories ...
0
votes
0answers
10 views

alter $post variable in main query as soon as possible [duplicate]

I'm using WP with WooCommerce. For some purpose, I want to load a predefined static page (e.g. with id=5) whenever the user enters a product page (e.g. www.mysite.com/?product=my-product), by ...
0
votes
0answers
23 views

Publish Post but don't call publish hook in foreground post creation

I'm using Subscribe2 to send new post notifications to registered users on my site. I've got a couple hundred subscribers and when I add a post on the front end through a HTML page when I submit it, ...
0
votes
2answers
45 views

Unable to differentiate between two categories under custom post type on single.php

I have created A custom post type as mentioned in my older question When I try to use get_the_category() function to retrieve the category of the post(if it is symphony or noir). It returns "Array". ...
0
votes
1answer
37 views

Custom plugin to get related posts by category

I'm learning how to create custom plugins for Wordpress, I am trying to get related posts by category. The problem is, I am returning all posts regardless of it's category whether it's the same ...
0
votes
0answers
19 views

Is Hfeed class for all pages needed

Hey there :) I'm trying to fully understand the Hfeed class used in underscores.me themes. I'm developing a site on most of the underscores structure, but I can't figure out if I can remove the hfeed ...
0
votes
0answers
9 views

Creating a Publication posting on site from another site

Options : Create a New Post in a web -1 from another web -2 . or Everything is created in wordpress -2 be " copied " to the web -1 I 've used the built multsite with ThreeWP - Broadcast, but has ...