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)

1
vote
0answers
70 views

Display posts with comments closed, with pagination?

i'm using a custom query, which needs to display all posts with closed comments. I have this <?php $the_query = new WP_Query('showposts=-1'); ?> <?php while ($the_query -> have_posts()) ...
1
vote
0answers
169 views

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a ...
1
vote
0answers
90 views

Copy post to separate database with “add_action(…)”

I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
1
vote
0answers
384 views

show custom post type category dropdown sorting result on same page

I made a custom post type "kaubad" and i also want to add sorting option on website front end - users can select between this custom post type categories. here is screenshot about what i want to do. ...
1
vote
0answers
729 views

How do I locate the exact location where this error is occurring 404 page not found

I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site: ...
1
vote
0answers
268 views

List authors with the last post title and order by last post date

I want to list authors with last post data and order them by last post date. Now i have this codes but i don`t know how to edit them. // Selects from tables wp_users and wp_posts, selecting published ...
1
vote
0answers
225 views

Some posts from custom post type to subdomains

I have custom post type where all posts associated with some persons. Like: mysite.com/masters/master-name/ And i need to have redirection from master-name.mysite.com. This redirection will be ...
1
vote
0answers
428 views

How to order posts by meta_value and title

How do you order products in WooCommerce so that products are random, but at the same time featured products show first? Here is my code: $args = array( 'post_type' => 'product', ...
0
votes
0answers
14 views

I am not getting result from php function that is json encoded

So I am trying to build an array of post data. But when I json encoded it I am not getting back the post object data from the database. Here are my two functions public function ...
0
votes
0answers
7 views

“Pagination” for Posts with next/Prev navigation outside loop

I would like to list all posts from a category or all posts on one Page and add a navigation on the right side, so outside the loop which loads my posts. i found this post whick has a similar ...
0
votes
0answers
8 views

How to retrieve a post by inputing the url in a custom field and displaying it on an options page

If have an options page where I have a custom text field and I want to paste a url of a post in that custom field and retrieve the Post Title and Excerpt and display theme above the custom field and ...
0
votes
0answers
10 views

How to Edit Layout of a Particular Post Format?

I am looking to edit my theme layout of the aside post format. I have already included the add_theme_support() function to include the aside option when creating a post. However, the layout of an ...
0
votes
0answers
15 views

How do you remove the ability for a user to click on a blog title to redirect you to the blog page?

I am building a blog on Wordpress, but I want all the content for each post to be displayed under one page, (ie. if I had 5 posts on my blog page, they will all display on that one page). But if I ...
0
votes
0answers
15 views

Loading posts from another wordpress database on the same server

I've searched quite a while and found several solution but apparently I'm doing a lot of stuff wrong. I'm having 4 different Wordpress sites and need to load the latest 2 posts of each site. For ...
0
votes
0answers
29 views

Query post by meta key of another table

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. I know how to ...
0
votes
0answers
23 views

Front-end Posting: Allowing user to view/edit their pending post

So, I have a front end set up. I can write and submit a post. I have a list of my published and pending posts, which I can view and edit as an admin. I created a subscriber, but 'he' cannot access ...
0
votes
0answers
6 views

Post / Product publish time not accurate enough

I am automatically uploading 800 new products to woocommerce each week, after removing all the previous ones. But the next / previous product buttons are not working strictly chronologically as it ...
0
votes
0answers
7 views

Link Post Titles to External URLS

I have a site full of 1000s of newsfeeds. When user clicks on the title, it takes the user to the article page, then the user must click 'read full article' to go to the external url. Is it possible ...
0
votes
0answers
16 views

Delete/remove post excerpts?

I have post excerpts in my posts generated by some plugin. I do not use them. Is there any function which will delete them on post publish, or even better remove that feature?
0
votes
0answers
23 views

How to query and group posts by category?

/* * Loop through Categories and Display Posts within */ $post_type = 'post'; // Get all the taxonomies for this post type $taxonomies = get_object_taxonomies( array( ...
0
votes
0answers
14 views

how to edit custom fields of type gallery from front-end

i have added custom field name "gallery-photos" and type gallery . but i am unable to edit it in front end using your plugin i tried using : but i it just show array. Please guide me how to do it ...
0
votes
0answers
10 views

Trending Tags based on post views

I'm looking to display a list of the most trending tags on my wordpress blog - based on views that the posts within these tags have had, with a max tag count of around 10. I've looked into the ...
0
votes
0answers
23 views

Category post count is wrong

A weird thing is happening - the post count in all the categories is wrong - first it started counting the posts + 2 extra nonexistent posts in all the categories, after a while +3, now it's +12 So ...
0
votes
0answers
18 views

Filtering loop by query string in select option (custom field)

I'm trying to filter out some posts on a page template by a custom field. I could be attempting to solve this problem the wrong way - but I think a query string would be best here. Please advice if ...
0
votes
0answers
20 views

Disable single post page in wordpress

I hate how when you click on a frontpage post (I have mine layed out in columns on my frontpage), it goes to the single view of the post. I would like for it to go to the blog page but scroll down to ...
0
votes
0answers
15 views

Header appears twice

I've simple custom page template like this: get_header(); include('pages/index.php'); get_footer(); index.php looks like this. if(!(isset($_POST['full_name']) && $_POST['full_name'] != ...
0
votes
0answers
14 views

Sharing post from archive page (loop) doesn't work

On my archive page, I have for each post( I have include in the loop) the possibiity to share the post via facebook via this code: <a href="http://www.facebook.com/sharer.php?u=<?php ...
0
votes
0answers
28 views

Display list of Child Custom Post Type into Parent Post

I am trying to display list of child custom post type "report" into parent custom post type titled "List of Weather Reports". I am using the following code: function wpb_list_child_pages() { ...
0
votes
0answers
10 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
0answers
19 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
47 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
0answers
22 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
0answers
8 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> ...
0
votes
0answers
20 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
0answers
5 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
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
0answers
36 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
6 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
20 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
16 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
13 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
39 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
21 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
0answers
15 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 ...
0
votes
0answers
25 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
0answers
23 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
13 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
19 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
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
8 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 ...