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

How to custom feed request with trailing slash that combine category with postname or pagename?

I am developing a source feed in mysite1.com to feed mysite2.com via a custom feed request. I am looking for a way to customize feed request on mysite2.com using trailing slash that combining its ...
1
vote
0answers
12 views

How to add random post title with tooltip

First, sorry for my bad English I need a random post title with tooltip feature. I want to make like in the picture. There are random post title, and tooltip contain "Movie Information" like, ...
0
votes
1answer
15 views

Different structure/content for posts from a custom post type

I've a CPT: Services and created two posts underneath it. Now, both those posts have some static content which is different in structure and design from each other. How do I place that content in my ...
0
votes
0answers
12 views

display-posts shortcode attributes have no effect

I need to list some specific posts on a page. I discovered the [display-posts] shortcode feature but it doesn't seem to work. Here's what I'm trying to do: [display-posts posts_per_page="2"] ...
0
votes
1answer
30 views

Which PHP files should I edit for changing POSTS list and view pages?

Iam totally new to WP but now I got a situation to integrate blog in my magento store for that Iam using WP-Blog now I need to edit blogs posts List page and posts view page I want o do this by ...
1
vote
1answer
29 views

List children on child post

I have a custom post type with children posts. If I'm viewing one of the children post how can I list other children posts that uses the same parent?
0
votes
0answers
9 views

Will be the posts over writen according to the posts' ID when I import from an old site using XML file?

I have a site now and it has 350 posts. (Let's call is New site) I have another site which has 500 posts (Let's call is Old site) Now I am in a need of importing the all posts (500) from my old site ...
0
votes
0answers
3 views

How to update or recreate WordPress post_name slugs based on a new post_title? [duplicate]

WordPress wp_posts table that is stored in my WordPress MySQL database has post_title and post_name columns. I needed to recreate post_name column for all posts based on updated post title values. I ...
0
votes
1answer
23 views

List all posts in taxonomy term

I have a custom post type called anime and a taxonomy called series. If I view any post and that post belongs term Banana it should list all the posts in term Banana in a dropdown list. Here's the ...
0
votes
0answers
14 views

Auto create child post from custom field?

I have a custom post type that has 3 custom fields. If I create a post with data filled in those 3 custom fields I want it to auto create child posts for each custom field & using the data from ...
0
votes
0answers
13 views

Show current portfolio item in related posts

I have a portfolio with a single category > "Work" and in that category I have 3 portfolio items: Exhibition, Music, Posters. I am using the BeTheme template and I have the related post function ...
0
votes
1answer
28 views

Hide first blog post in content and output it in widget

I am working on a theme and want to hide the first blog post and instead output it at a custom widget position. For that I created a variable in the functions.php called $postCounter. I accessed ...
0
votes
1answer
22 views

Shortcode and whitespace formatting problem

I'm having a problem with shortcodes on a website, currently you enter a shortcode in the post edit screen like the following: [tab name=Itinerary] This will output a tab such as: However as ...
-1
votes
1answer
24 views

Displaying posts content inside a page [closed]

I have a problem when I am trying to view the posts content inside a page When I click on the post title, the WP retrieving the Homepage content inside the page of posts
0
votes
0answers
21 views

Recipe Plugin Options

I currently run a recipe blog which just uses standard posts for recipes. I tend to have a few pictures and a short description before the 'Read More' line, then the rest of the data ...
0
votes
0answers
28 views

Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?

The wordpress theme I'm using uses a custom post type called 'coupon' and a custom taxonomy called 'store'. The default permalink structure for a coupon post is site.com/coupon/CouponPost I would ...
0
votes
1answer
22 views

Wrong post title displayed from loop

I'm building my own theme. I have a page set for my blog (with a template that I made) which I'd like to just display a few of my posts. It uses the following loop: <?php ...
0
votes
0answers
13 views

using slug instead of ID in admin edit post url

In Admin, is there any way to use a slug instead of a post ID# within the url that takes you to a post's edit screen. So instead of: http://mysite.com/wp-admin/post.php?post=5562&action=edit ...
-1
votes
1answer
18 views

Show Posts by Price Plan [closed]

I have made a website on wordpress. There is registraton of any user by choosing Price Plan which is i am going to describe as follows:- Premium Blog Posting - $90 (90 Blogs Per Month) Featured Blog ...
2
votes
1answer
31 views

Append a <!--nextpage--> to every post to force additional page link (and static content)

I'm trying to affect either the content or the $post->post_content directly, before the post get read by the wp_link_pages() function, to inject a little bit of static text or javascript after the ...
-1
votes
1answer
20 views

Wrap posts from a category in HTML

I want to get multiple posts content from a particular category. I would also like to wrap each post around some HTML. Any ideas on how to best do this?
0
votes
2answers
26 views

Hide thumbnail if there is a gallery on the post

In a post I want to always show one of two options- If the post has nothing but a thumbnail image show the thumbnail. If the post has both the thumbnail and a gallery then show the only gallery ...
0
votes
1answer
27 views

Custom template for different post types

I'm struggling to get my head around the correct terminology for posts/templates etc which is making it difficult to find what I'm looking for in Google/on here. Basically, I'd like a user to be able ...
-3
votes
0answers
12 views

why on twenty thirteen site my comments (not posts) do not show last 10 first?

Is it possible for the site I work on: elcosito.com to show the last 10 comments (not posts) on the front page at all times? Right not it shows what I post: 1-10 comments, when I post number 11, it ...
0
votes
0answers
4 views

migrate first image of every post into featured image

I have an existing WP 4.0.1 with around 150 posts. All of them start with an image embeded within the html body which looks like this: <h4><img class="aligncenter size-full wp-image-????" ...
0
votes
0answers
14 views

Ajax WP_List_Table in Admin Edit Post Page

I need to show a WP_List_Table with a list of custom posts types inside the post edit page. I followed the instructions at this link. The ajax part works fine, but now I have a problem when I try to ...
0
votes
1answer
20 views

How to make related post order by random?

I purchased a theme which had a related post functionality, but it sorts by latest so all the my post in the same category have the same related post content. I would like this set to random but dont ...
0
votes
1answer
40 views

How to add add more properties to WP_Post object in search results loop

I am using a plugin called Event Organiser, and it seems that it will only append its custom properties to the post object for all other instances of the WordPress loop except the search. Is there a ...
0
votes
1answer
25 views

Better code/text editing for posts and pages?

What is the most well known or liked method or plugin to improve the text editor for posts/pages? I would love to have syntax highlighting and formatting, along with other IDE type functionality in ...
0
votes
0answers
30 views

get_the_ID() fails the first time, returns a value the second time it's called

I'm using get_the_ID() when creating an email. The first time that an email is sent using a post for the content, get_the_ID() returns nothing. If I resend an email with that same post, it will ...
0
votes
0answers
10 views

Some post URLS are opened with feed reader

it is the first time this I see this bug! Browsing the news in the blog, sometimes instead of going to the post the browser views the RSS page!!! (look to the screenshot) The if you refresh the page ...
2
votes
1answer
24 views

get_the_term_list by hierarchy order

function btp_entry_capture_categories() { $out = ''; global $post; $taxonomies = get_object_taxonomies( $post ); foreach ( $taxonomies as $taxonomy ) { ...
0
votes
2answers
30 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
2answers
8 views

How do I add an article to specific page?

Regardless of it being WooCommerce or WordPress, I want to add a couple articles to specific pages, so they show there instead of the images that are there now. Homepage I know, I'm supposed to use ...
1
vote
1answer
23 views

if custom post type exist

I want to test if custom post type mobile exist. I used if custom post type exist in the loop, but it doesn't work. Any suggestion why my code is not working <?php /* The loop */ ?> <?php ...
0
votes
1answer
13 views

How to Arrange Support => Thumbnail

Good Afternoon, I've created a CPT that mainly uses Featured Images, I would like to know how to rearrange this box to appear in the center where 'content editor' would go instead of the right ...
0
votes
0answers
11 views

How to add jQuery div element to each image on wp site?

I'm trying to add the "Share" button to each of the attachments inside of the post. I found function that allows to get all attachments on the post: ...
0
votes
1answer
21 views

Posts tagged with a-new-tag does not appear

I use wordpress 3.9.3. It already has many posts tagged with respective YEAR and are displayed under their respective tags on the relevant page. I added new posts tagged with 2015, but they somehow ...
0
votes
2answers
53 views

query_posts different amount of posts per page

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

Correcting the content width when sidebar is inactive?

I want my website's content (posts) to be central in the page when the sidebar is inactive. I've currently got it set to fit both the content AND the sidebar on the same page. How can I make it ...
0
votes
0answers
14 views

Custom post type url removal for child posts

Hello so my issues is that i cannot figure out how to remove the post type name from the permalink of child post. Already went though most of the solutions on the web but not none helped. Basically ...
0
votes
1answer
16 views

How to select particular month post from table and update the post status using MySQL?

I would like to change the post status for particular month via MySQL command Using SSH...Can you anyone tell me how to do this via SSH. I have number of post more than 40,000 posts, each month i'm ...
0
votes
2answers
19 views

Redirect before post page

I have post list page of a category. I want to redirect not logged user to login page before he views the post page. I tried with wp-members plugin, but not. In wp-members plugin, there is a hook to ...
0
votes
0answers
31 views

Post repeating with infinite scroll

I'm working on this page: http://bit.ly/1ujkiFa I'm creating an infinite scroll of books (wordpress posts). If you see the first row of books is this one: But if you scroll down, after it "loads ...
0
votes
0answers
16 views

WordPress search results order

Is there any way to change the search results order? For example, I would like to order as following: Pages, Category 3, Category 2, the rest. I have no idea where to start from, but I suppose that ...
0
votes
2answers
47 views

get custom image size

In a post I want to place a custom image. how do i place a thumbnail with link to original image? below is my current code. <a ...
-1
votes
1answer
31 views

How to show only Post titles on category pages

Hi I need to display only titles of the posts please help here is my archive.php code <?php global $theme; get_header(); ?> <div id="main"> <?php $theme->hook('main_before'); ...
-1
votes
0answers
22 views

Track pageviews by writer?

I have a site where I have 5 writers. I was wondering if there was an easy way to tell which author had how many page views broken down by page. I guess google analytics could work (i've used it ...
0
votes
1answer
21 views

Use posts_where to exclude posts ids from wp_query

I want to use posts_where to exclude an array of posts ids from all queries in my site. The array containing the posts ids depends on the user that is logged in. Can someone please tell me how to ...
3
votes
1answer
70 views
+50

Add role that restricts user to post in specific category

I'm trying to create a role that restricts the ability to post to a specific category, hiding the other from the checkbox. I don't want to use plugins. I'm looking for a snippet to put in ...