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
votes
1answer
37 views

WordPress More tag doesn't work on Single post

When I add read more on my post (single.php) I can see < !--more-- > in HTML editor and when I publish it, I don't get to see it on my website. I already tried several plugins to solve this ...
0
votes
2answers
177 views

Gather posts into a cart/lightbox and share with another user

Ok I've almost completed a Wordpress site that is a multi-user Image Library. This is a private site, where users must be logged-in to view it. The average user cannot get to the backend (wp-admin) ...
-1
votes
1answer
30 views

Blog Posts as Files Instead of Folders?

Currently, wordpress displays my blog posts as http://example.com/blog-post-here/ but what i want is instead is to have my posts as php files instead of folders like this: ...
0
votes
0answers
25 views

How to modify wp_link_pages() to get “Page: 1 of 4 >>”

I'm using wp_link_pages() in single.php . For now I'm getting output like Pages: 1 2 3 > But I want to make it like Page: 1 of 4 > for the first page and < Page: 2 of 4 > for other ...
0
votes
0answers
8 views

Configure number of posts to show on Wordpress page using Redux Framework

I am using Redux Framework for theme options on a theme I am working on. I want users to be able to set the number of posts to show in a certain section. Right now it's hard coded to 3. But I added ...
0
votes
1answer
32 views

Add caption to thumbnails in content

Still trying to get the answer, i don't really know wordpress core (but i'm actually pretty good in PHP), I can't find how to add caption to my images in posts. I know we can use get_posts to any ...
0
votes
0answers
24 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
0
votes
0answers
16 views

why are images not full size?

when viewing images on portfolio page is not a problem, but if one portfolio in the open drawing that appears small, it requires some time so the image can be full size. Why did it happen,can you ...
0
votes
0answers
15 views

'Post Page' Pagination Links pointing to 404 Pages [duplicate]

/blog works, showing the correct amount of posts and pagination links. The links however (e.g. /blog/page/2) are giving 404 errors. The page Blog is set as Posts page under Settings -> Reading. ...
0
votes
1answer
21 views

Error display post thumbnails for previous and next post

I managed to display the thumbnails for the previous and next post on my custom post type but I keep getting this error "Notice: Trying to get property of non-object in ...
0
votes
1answer
22 views

Posting a comment redirects admin/users to blank page

I have looked a lot on this problem on forums and tried out a few of the solutions but nothing seems to work for me. When I try to comment here: http://www.chicitout.co.nf/crochet-lace-skater-dress/ ...
-1
votes
0answers
30 views

copy meta_value to post content where postmeta id = post id

i want to move meta_value from postmeta to post content where 'postid' of 'postmeta' = 'post id' from (posts table) with mysql phpmyadmin (wordpress) Thanks
0
votes
2answers
35 views

Show a page counter for pagination

I currently have simple pagination set up showing the text older and newer. If one of the text isn't needed it display an 'inactive' version of it so that the text doesn't disappear. <?php if( ...
0
votes
0answers
19 views

Flexslider+Vimeo APi in WP

I created a custom post type using flexslider. It supports video (vimeo/youtube) and images. It works but I need to add the vimeo api (froogaloop) because I need: The video to automatically stop ...
-2
votes
2answers
28 views

Windows 10 Printer that Sends to Wordpress [closed]

Is there a way to "print to wordpress" from Windows (10) desktop? So lets say I am looking at a PDF and I want to create a new wordpress post from the PDF, I select print, select "wordpress printer" ...
0
votes
2answers
34 views

Multiple comment forms on a single page

I have to load multiple posts on a single page. The situation is different. The client ask to reorder the posts, that the current post of the category becomes first and all the rest are next. Then on ...
0
votes
1answer
13 views

Custom Taxonomy From Database

i want to create one site with Wordpress and for that i have some weird requirement. i wants the site like, when admin write any post at that time he have to select then product for that page. (i.e ...
0
votes
1answer
40 views

How to Save settings of custom tab product page in admin side in a database?

I have following code : <tr> <th><?php _e('Custom Stock Message'); ...
0
votes
2answers
48 views

How to display post list in a table layout (multiple queries in single loop)

I am setting up an events page for my website. This page is using a loop to display a list of acts performing at different venues month-by-month. When a viewer comes to the page, they use a simple ...
0
votes
1answer
43 views

Edit custom fields in posts list

Is it possible to edit (or add) custom fields directly in posts list (/wp-admin/edit.php)? I need to do it quickly for many posts (1000s) so editing every and each of them would take ages to ...
0
votes
0answers
17 views

Where to direct the “action” of a form with a custom plugin to upload a post?

I'm trying to create my very first very own plugin to upload posts into WordPress. I'm learning by looking at another post uploader plugin out there, but I was really confused about the action of the ...
0
votes
1answer
9 views

Is it advisable to use $post->comment_count instead of get_comments_number( $post_id )

I was learning from the WordPress codex about global variables and after var_dump($post) I found out that $post has a property called comment_count I was wondering whether I can directly use ...
-1
votes
0answers
68 views

How to convert first embedded image to a thumbnail

I have a photography blog, where I uploaded a photo to be inserted into the post. I didn't add a thumbnail, because the theme I was using added that to the post as well, which complicated the display ...
0
votes
2answers
29 views

One Post with different content, depending on a Page

My goal is to make a user manual WP site for the web app that my company is selling. My issue is that the web app has some differences in functionality for different clients. For example, we have a ...
0
votes
1answer
27 views

How can I add a class to particular paragraphs in my post?

The effect I'm looking for in the end is to have the first line in some paragraphs bolded. These would be the first paragraph of each section in my post. This kind of effect is used on this ...
0
votes
1answer
19 views

widget should display post archive by year and on click also by month

I want to display the post archives like seen in this picture. Shown by year and on click it should open up the months. I am not sure how to approach this, would you customize the standard WordPress ...
0
votes
1answer
21 views

Exclude current custom post on single post

I'm trying to exclude the current custom post that is viewed from a list. I've tried with exclude but it still displays it. Here is the code I have on single-works.php: <?php $currentID = ...
0
votes
0answers
59 views

Force update all posts in custom post type, no content changes

I have imported data from a custom post type that has location data for a map plugin (Progress Map). I have about 500+ posts each with different location data. For some reason the location data isn't ...
-1
votes
2answers
61 views

How to create a loop that will display one post and stop?

I am trying to create a part on my wordpress theme that will only display one featured post. I have installed this plugin - https://wordpress.org/plugins/featured-post/ . I know I am supposed to ...
0
votes
1answer
16 views

Wordpress URL question

I have a web page that I created and in doing a google search for the company and my name a weird page came up. For private reasons I will not reveal the company name so I will use a fictitious ...
0
votes
1answer
45 views

Creating widget - ask for selecting a post in the admin panel

First of all, sorry for my English, I'll try to make it understandable. I'm new on WordPress; I already have created a few plugins but they didn't needed admin configuration. Now I'd like to make an ...
0
votes
1answer
36 views

Creating an admin meta box to save post as pending

The workflow when using Wordpress to change a draft post to pending involves several clicks and button presses, especially on mobile So to simplify my process I would like to create a meta box that ...
0
votes
1answer
41 views

Restore woocommerce orders

Recently my server team replaced my database and they put our previous Database . So we lost our order details of one day[particular day] . Now the server team give the backup that contain the lost ...
0
votes
1answer
36 views

add div after image in post [closed]

I want to give my photos a special style such as this link "CSS3 Hover Effects" For this, I must add a div after any image link in any post What should i do For this style ? I am using Hueman Theme ...
0
votes
0answers
30 views

Create custom post type and content of custom post type display in a single product page of woocommerce

Code to create custom post type is here and it's working: $args = array( 'labels' => $labels, 'description' => __( 'Description.', $this->plugin_name ), ...
1
vote
1answer
41 views

Genesis + Ajax + Jquery | Failling to call action

I want to execute an action, without realoading my page. I folllow this tuto https://codex.wordpress.org/AJAX_in_Plugins But each time my page reloads, and I can't have the result value. Here is my ...
-3
votes
1answer
36 views

hide particular category post from front page only [closed]

i have setup a new wordpress blog and have few categories one is called news and it updates too frequently and less important so I want news category posts to be excluded from my home page only and if ...
0
votes
1answer
82 views

Get post embedded image caption

I am trying to get the caption of post embedded images to then use on a lightbox. This is my code: function my_theme_prefix_content_gallery( $content ) { global $post; $args = array( ...
0
votes
0answers
17 views

Redirecting a Post to a Page Because the Page is More Flexible

Wonder if there is an acceptable way to do this. I am using a theme on this site that allows me a good amount of functionality for pages that isn't there for posts. So, I can create a page and have ...
0
votes
1answer
30 views

How to display all posts assigned to some tag?

I have tag url - example.com/tag/new-shoes and I have 2 posts tagged with those keywords new-shoes. I would like to display on this url example.com/tag/new-shoes all posts (titles and first keywords ...
3
votes
1answer
33 views

Where is the “ancestors” post object attribute?

I usually work with the ancestors attribute of the post object: if ( in_array( $target_id, $post->ancestors ) ) { // do whatever } But while debugging the post object I've seen that there is ...
0
votes
1answer
18 views

How to create a custom page in woocommerce?

I would like to create a blank page, which is used to list out the product by the category , so far I have found some code like this: $args = array( 'post_type' => 'product', ...
0
votes
0answers
19 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
24 views

Featured image in custom post is being disabled

I'm trying to create a custom post as a plugin and so far I'm having some trouble trying to enable featured image on my custom post type. Right now I have created two custom post types but the problem ...
0
votes
0answers
16 views

Group posts by month by custom metabox?

is there a way to do this ? August 2009 11 Title of the post of the 11th day of August 15 Title of other post of the 15th day of August 20 Title of another post of the 20th day of August July 2009 4 ...
0
votes
1answer
54 views

Wp_query WooCommerce products

I'm currently developing an e-commerce store using Wordpress and WooCommerce. I'm planning on creating a basic product filtering system and was wondering if it's possible to wp_query the results shown ...
0
votes
0answers
38 views

How to delete a stuck post using phpMyAdmin

I was attempting to change some leftover http:// references in the DB using Update/Set SQL statements. I was getting confident and started doing them in bulk and stopped noting exactly what I was ...
0
votes
2answers
35 views

Display taxonomy term only if there's a value

I have a post type which I want to add some taxonomy values (tags) Example Post Type One City: London, Paris Color: Red, Yellow Language: In the example above, Language doesn't have any value, ...
0
votes
0answers
18 views

Custom Fields with pre-filled content

as this is my first post here I first of all like to say "Thanks" because I found a lot of hints here for my problems in the past. Now I have to ask for the first time: We are offering news under ...
0
votes
2answers
59 views

Filter posts by author and category simultaneously

I'd like to include in my website a feature for users to only see posts from a certain author and a certain category. I'm able to do it separately but I can't seem to understand how to do it ...