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

Change label of title field for posts in the backend

I am trying to add some HTML to the title label in the backend of WordPress. Attempt 1: I am using the following (simplified) function: function change_post_titles() { global $post, $title, ...
1
vote
2answers
1k views

Get posts of ONE taxonomy term of custom post type

I have a custom post type called portfolio and a taxonomy called locations. In the taxonomy I have various terms, like paris, berlin, london etc. How can I get only the posts which are related to ...
-3
votes
0answers
16 views

blank page problem in theme after uploading [duplicate]

Theme I have created i working fine in localhost but when we upload it in server I am facing the following problem In dashboard when I try to create the page and click on publish it will go to blank ...
-1
votes
1answer
16 views

Show all posts shows a blank white page in WP 4.2.2

In show all posts I have changed the number of items pe page from 20 to 500 and after that I got a timeout as it could not display all the posts. And now every time I go to show all posts I get a ...
0
votes
1answer
31 views

Show more than 200 images in one post

I have gallery post and its have more than 200 pictures in single post. So, when i open this post, Its take more than 2 min to open page, and the images not open fast. What can do ?
0
votes
2answers
30 views

Display News Posts by Day with Post Counter

I am building a site client who makes anywhere from 20-50 news posts per day. I'd like to have a news feed where it shows the date / post count as an H3 and then list all the posts for that day ...
-1
votes
0answers
15 views

Incorrect paragragh spacing when adding images [on hold]

http://i.stack.imgur.com/ITYig.png Theres too much spacing between the paragraph and picture. I can't seem to fix it.
-1
votes
0answers
11 views

Replace existing pages with new pages, keep menu links

I've searched for this and found similar, but not the same issues. I basically want the same functionality as 'Enable Media Replace' but for replacing pages and posts. I'm redesigning an existing WP ...
0
votes
3answers
529 views

Get custom post type parent category

I'm creating a custom post type like this: function btp_work_register_post_type() { $args = array( 'label' => __('Works', 'btp_theme'), 'labels' => array( ...
0
votes
1answer
714 views

Listing Specific Categories from Current Post with Depth

I've been on this for sometime and been having a ton of issues to find a proper way to do what I'm trying to achieve. An Example would be as follows: I have a featured Image with a rollover and I ...
0
votes
2answers
525 views

Display post category in foreach loop with category link

I have the following code to show current author post lists with post thumbnail, post title, post date and post category. function my_get_display_author_posts() { global $authordata, $post; ...
0
votes
1answer
9 views

Display Published Posts Count for Certain Time Period

I need some kind of plugin (if it exists) or a wp query which would display number of posts published within a certain time range. For example: I need to know how many posts have been published ...
0
votes
0answers
22 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
15 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?
-5
votes
0answers
16 views

Buying a theme Regular vs. Entended [on hold]

Im new to WordPress and am thinking about buying a theme for my site, which is for a mobile app. And I'm confused about whether or not I can use regular license. Could someone explain the difference ...
0
votes
1answer
8 views

How to get all inline images in post content?

I want to get all inline images in the post content. The get_children() method doesn't work for me because they could add the same photo twice. Also this only gets "attached" images, and they could ...
3
votes
1answer
254 views

Getting Position of a post in a category

I have one post id x, one category id y. I want to retrieve the position at which the post will appear in the category. It is confirmed that the post is from the category Post order will be based on ...
0
votes
1answer
754 views

Auto insert More tags in all posts

I have a theme for my mobile site that requires the <!--more--> tag in my posts for it to display an excerpt of my post's content. I've got over 2000 posts already, and its going to take ...
-1
votes
1answer
354 views

query_posts different amount of posts per page [duplicate]

I have a posts_per_page query to paginate multiple post types, which works great! Now though, as it paginates it to show (in this case) 100 posts per page, I'm wondering if you can show 100 on page ...
0
votes
2answers
45 views

How to convert template to posts

I have a theme I created and uploaded to WordPress. I need to make it WordPress friendly so I can easily edit posts, instead of having the same website but just hosted on WordPress. How would I make ...
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( ...
-2
votes
1answer
17 views

Need fixing generic posting on facebook

The problem becomes apparent when we ''post'' something on facebook. For example right now if I write: '' I love this website, check it out at www.5starpma.com'' we get the image of a male model. What ...
1
vote
1answer
2k views

Wordpress schedule posting not working

I have Wordpress 3.5.1 and I use Bluehost hosting service. When I schedule posts after that time passed, WP posts dashboard shows "Missed schedule" message under the date. Then I checked my ...
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
1answer
18 views

Display featured image and post detail side by side in underscores theme

I'm using underscores skeleton theme. I'm trying to show the featured image in the left and title, meta and content of the post in the right in index.php. But I cannot bring them side by side. Here's ...
0
votes
0answers
91 views

Custom post type as HTML/PHP table

I have a custom page which displays some WP members (students) using $wpdb to query the database and display these members in a HTML table. This table gets generated (populated with records) when the ...
3
votes
1answer
1k 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
1answer
15 views

Sort / Filter Queries

I'm working on a website, that showcases products, and now I'm working on the query part. Basically I want to have one page, that displays a list of products as a normal query, and then on top of the ...
1
vote
1answer
20 views

Custom post preview without saving

I've added JS to my responsive theme which changes the preview button on the post edit page into a link to an offsite page. The page contains a 320px x 568px iframe which shows the post in the mobile ...
0
votes
1answer
762 views

Using radio button meta data from a custom meta box

Very new to attempting PHP and am hacking together my first plugin using tutorials.. I have a custom meta box with a Yes/No radio button on all WordPress pages (in the editor). EDIT- I removed the ...
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
1answer
10 views

'get_previous_post' in same category returning (!empty) when no previous post in category exists

I'm trying to use the Smarter Navigation plugin to work so that when I click on an individual post from the category page, the single post navigation only goes to the next post in the same category. I ...
0
votes
0answers
22 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
2answers
570 views

Only display sticky post or latest post in custom loop

I'm new to Wordpress and PHP and I've been battling with this for a while now. What I have for the moment is 2 loops. I want to first loop to only ever show 1 post: either a sticky post, or the ...
6
votes
1answer
520 views

Display Random Author with Details in Sidebar

PHP newbie here, recently decided to have a stab at cobbling together a kooky little 'Random Author Spotlight' feature into my current WordPress theme. I'm almost done, but I've hit something of a ...
0
votes
0answers
17 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
4answers
7k views

Get current category id from post page wordpress

I have a problem to get category id of current post. We are using <?php get_the_category( $id ) ?> for finding out category of current post. If a post like 'demo' has 2 category like cat1 and ...
0
votes
1answer
30 views

Theme does not respect spaces between paragraphs in pages

I am working with a theme that focuses on special types of posts. It seems that the author has neglected pages and as a result, paragraph spacing in pages is not respected. The next paragraph simply ...
0
votes
3answers
489 views

Count post view when user open any post

I want when any user open the post it count the post view. Currently i am using my custom function which is <?php setPostViews(get_the_ID()); ?> But the problem is that when user refresh the ...
4
votes
1answer
399 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 ...
0
votes
2answers
104 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
2answers
30 views

Page and Posts loading as index page? Not loading the content

I've been developing a website on wordpress for some time now and came across some issues but until now I could figure it out, not today... Yesterday I've worked some more on the website and today ...
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
12 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
2answers
758 views

Archive Page for Custom Post Type is not Working

I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div ...
0
votes
0answers
27 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() { ...
2
votes
1answer
37 views

post_parent is 0 when uploading new files

I have a custom-type post I'm trying to attach some audio/wav files to using the wp-admin UI. When I upload the new files using the Add Media popup those get saved and embedded into the post just ...