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

WordPress not updating post or disable plugin instead a white page appear

I was working in a local WordPress website, and it works without any problem. Then i uploaded it to a live server as follow: Uploaded all my local files and folder to the live server. Imported the ...
0
votes
0answers
179 views

How to display all posts on one page and then open them inside a modal window

I'm working with the WordPress Bootstrap theme. I want to show all the post listing with their featured image on my page and after clicking that image I want to open the post description into a modal ...
0
votes
0answers
33 views

Post restoration

I backed up a version of my wordpress site which contains several posts. Lets call this website website A. I have a different website which also contains several posts. Lets call this one website B. ...
0
votes
0answers
284 views

If in_category not working for multiple single.php pages

I searched far and wide (on here & Google), reading about how to have multiple single.php pages for different categories of posts. The consensus was to do something like this: <?php /* ...
0
votes
0answers
30 views

make a post or page permalink based category

I have two language categories on my site, English and Indonesian. How can I create permalink post or page based on category slug such: example.com/en/page example.com/id/page or ...
0
votes
0answers
56 views

How to handle POST reqests the WordPress way without including admin API?

It is all about sending newsletter registration data in forms. AJAX is primary solution, POST is just a fallback. I've planed to do in in wp-admin/admin-post.php as an action but it includes all the ...
0
votes
0answers
37 views

Wordpress Custom Post Type Filter not Working

I am pretty new to Wordpress and I have a problem with a filter in custom Post types.. See screenshot here of what I mean: Here is the code I am using for the filter public function ...
0
votes
0answers
42 views

Custom Post Type permalink not working on new posts

I've been struggling for a while with this and would really appreciate any help. I have a custom post type 'venues' on a site I'm working on. I have the permalinks setup so they are as follows: ...
0
votes
0answers
26 views

adding access to a specific post in the wordpress admin left menu

I've added a custom post type on my wordpess called "Perso". here is the code : // Register Custom Post Type function custom_post_type() { $labels = array( 'name' => ...
0
votes
0answers
17 views

Extra Editing Box in WP Dashboard

So I am trying to add an extra box in the WP post dashboard. In this box I will add a piece of HTML code. This code created the box in the WordPress area: $woo_metaboxes[] = array ( "name" => ...
0
votes
0answers
38 views

Move Category into Subcategory, Keep URL structure

The site I'm working on now was a small blog which then expanded into something quite a bit larger than what they first thought. Example below -Pizza -Chinese -Italian What I need is either all ...
0
votes
0answers
15 views

Bookmarking a post in exchange for an email?

I was asked to implement a feature that this website https://medium.com/ has, which is the ability to bookmark a specific post by making the user register an account with the website. This is the ...
0
votes
0answers
26 views

Check for new posts in the loop every x mins/seconds

I'm trying to think of a way to check for new posts in the current loop (e.g. author, or tag) using ajax to give a live blog feel without reloading the whole page. Is it possible to 'fire' the loop ...
0
votes
0answers
107 views

Add A Print Post Button Within The Admin

I am looking to create a button within the post or a custom post type admin portion of my WordPress site, that would act similar to a "View Post" button, except it would take the admin user to a ...
0
votes
0answers
53 views

Post view increments twice

I am having a small issue to display most views post in my blog where it is incrementing twice for each visit of post. I am not sure why this is happening because i didn't put any code to single.php ...
0
votes
0answers
18 views

my self hosted blog

After I transferred to wordpress.org and became independent and I now run my own self - hosted blog, my old blog posts just don't show up when I click on their title. Nothing is missing of them, ...
0
votes
0answers
187 views

Invalid Post Type error when attempting to filter and Bulk Edit posts

WP 3.8.1 Posts Categories: News 1.1 Press Release 1.2 etc. Blog 2.1 Technology 2.2 Around The World 2.3 Eetc. "Invalid Post Type" example: Posts => Filter by "Press Release" + checkmark ALL + ...
0
votes
0answers
15 views

some posts being displayed as pages

Some posts I make (in the same category) are acting as pages, they open as page templates. I have the following in my single.php <div class="mainbody"> <?php while ...
0
votes
0answers
106 views

Populate WYSIWYG field with ACF choice

So, I have a custom post type that uses a flexible content field containing a post object field and a wysiwyg field. The post object is to choose a post from a selected post type. After you choose ...
0
votes
0answers
180 views

get_posts multiple criterias

Hi I'm trying to get only posts from a certain category, but also all other posts that have a certain field value. for example: all posts in the "News" category. but also all posts marked as featured ...
0
votes
0answers
53 views

Cannot edit posts after moving WP site

Just moved a 3.8.1 site to a new hosting service. Copied all files (checking all permissions afterword) as well as a complete copy of the db. Uploaded db on new server, and updated the config file ...
0
votes
0answers
347 views

List posts in a select tag and display the_content of the selected option

I would like to create a select tag with posts from my custom post type and then, when an option is selected, I need to get the_content() from that selected post by its ID and display the content ...
0
votes
0answers
141 views

post category exclusion in main loop

I have mostly posts from category A. Whereas other categories have very few posts. Due to which my main loop shows posts of category A and other category posts don't get seen much on homepage which ...
0
votes
0answers
40 views

form to post multiple inputs into post_content

I have a form, with multiple inputs that I am trying to get posted to the wordpress "post_content". I am able to get the title field and only one other field to post successfully, only when making a ...
0
votes
0answers
14 views

404 for some custom taxonomy not ALL taxonomy

i created taxonomy and post type & Metabox using Easy Content Types some custom taxonomy work correctly, but i don't know why one of my custom taxonomy , each time i try to access it , i got 404 ...
0
votes
0answers
34 views

Taxonomy term page being linked a post from another custom post type?

I am building a Wordpress website which consists of 3 different custom post types (using post type UI) and also a number of different custom fields using the ACF plugin. I am getting a really weird ...
0
votes
0answers
15 views

Display last posts with comments link on static page

I want to create a static page which will be almost the same as the default one with latest posts. I know I can use query_posts( 'posts_per_page=5' ) to display my last five posts, but the comment ...
0
votes
0answers
52 views

Hook into trash_post_comments, update_user_meta

I have a theme where the author get points for posting posts and comments. When I trash a post, the user get 1 point removed from their score. This works fine with this function: However... When I ...
0
votes
0answers
10 views

While uploading texts from MS Word to WordPress, it changes the version id

Many times it is observed that, when you upload an already uploaded article (after making some changes), there is a new page created on KB site whereas it should have updated an existing page of that ...
0
votes
0answers
104 views

Using Post ID and Page ID in same function

I've written a function to display a custom sidebar, which is outputted as a sidebar. On some pages, I have a Custom Field called 'show_sidebar', which I can assign as 'false' on pages which I do not ...
0
votes
0answers
25 views

Gallery just showing plain short code like [gallery ids=“240,236,275”]. how to solve this?

I've followed this codex The WordPress Gallery after I added the gallery when see just plain text like [gallery ids="240,236,275"] the sample page : gallery page I did not add any filter or ...
0
votes
0answers
16 views

Posts in nav menu

Hello I'm making menu and I want to add element of menu and in this element submenu which posts name and links to this posts. For example I have item menu called A->link1 to post link2 to post ...
0
votes
0answers
33 views

Serve different layout via URL parameter

I'd like to be able to serve up an alternative layout for single posts via an URL parameter. For example, a user going to: http://domain.com/postname/ will get the post in the normal layout and a ...
0
votes
0answers
59 views

How to include specific post terms in Facebook share?

So I already added the necessary scripts to add a Facebook share button in my posts <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = ...
0
votes
0answers
20 views

Stop post submission without losing data?

Is it possible to stop a post from publishing/updating, and instead redirect back to the post with the same data that was being submitted? I want to do this so I can show an error message, should ...
0
votes
0answers
28 views

Preview own posts if logged in

I want to make it so anyone logged in can view their own posts if draft or pending via the URL ?p=post_ID&preview=true. What is the best way to do this?
0
votes
0answers
65 views

Show Custom Post Type Results

Hopefully someone can help me here. I have a custom post type and with this post type I am able to show the title in a select option. Now what I want to happen is when that title is selected it will ...
0
votes
0answers
352 views

How to show only subcategories in parent category not parent category?

I just want to show only subcategories of specific parent category on parent category page. I have 1 parent category videos and 3 child categories art,funny,and technology of that parent. I didn't ...
0
votes
0answers
77 views

Custom post type archive with taxonomy

Hmm OK, I'll try to be as clear as possible. I have a CPT named "custom_type" with the args (one of many) rewrite('slug' => 'space') and has_archive => 'spaces'. My first question. When calling ...
0
votes
0answers
59 views

Changing the permalink structure with 'with_front' not redirecting old URL

I'm attempting to change the permalink structure of the default post type with the following code: $args = array( 'rewrite' => array( 'with_front' => true, ...
0
votes
0answers
73 views

Get fatal error when using wpdb in jQuery.post target URL

Why am I getting a Fatal error whenever I use wpdb in the target URL of my jQuery.post? Here is my code so far. My process.php is this: <?php $to = 'myemail@gmail.com'; $subject = ...
0
votes
0answers
33 views

How to let people submit without logging in?

I'd like to let my user's post without logging in here's the script with the part that requires them to be logged in, any ideas? on by passing it to just show the post content instead? ...
0
votes
0answers
107 views

Random Post Generator Links for Individual Custom Post Types

I'm trying to figure out how to tweak the random post generator code to work for each of my custom post types in addition the one I have that shuffles through ALL of my custom post types. Here is the ...
0
votes
0answers
71 views

Perform database function in target URL using jQuery.post

I have a popup which gets the users input (name and email) and sends it to a process.php so I can send an email. I pretty much have that done. But I need to add a functionality wherein it will also ...
0
votes
0answers
78 views

Category and Sub category

There are two main categories such as Job by Education and State wise jobs, if a Job related post is posted how the post can be listed in both the two main categories and sub categories,
0
votes
0answers
11 views

Problem Wordpress redirection?

In my blogsite, we can view blogs from example.com/blogs/. In each blog, all related tags are displayed from example.com/blogs/tags/my_tag/. In tags page, there is pagination. If next is clicked in ...
0
votes
0answers
458 views

Adding custom fields to the Quick Edit screen - puzzled about the column concept

We've been told that: The quick_edit_custom_box action hook will not fire unless there are custom columns present. (Source^) If so, then adding a custom field edit functionality to the Quick ...
0
votes
0answers
456 views

WP 3.8 – Preview button not working for editor

After finishing developing my site I updated WordPress to 3.8. Everything works, but for some reason, an editor cannot click on the Preview button in the backend. Visiting the link ...
0
votes
0answers
23 views

post author changes when editing post

I have the following function which alows me to set a post author, even if they are only a subscriber: add_filter('wp_dropdown_users', 'MySwitchUser'); function MySwitchUser($output) { //global ...
0
votes
0answers
47 views

Switch post status to draft during import

I want to export all information of a WordPress database. Then I want to import the database dump into another WordPress database without having anything automatically published after the import. I ...