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

Remove inline width and height definitions from post images (single.php)

I have exported around 300 posts out of Blogger and into WordPress. The posts are mostly made up of images as it’s a fashion blog. Everything went great import-wise but the problem is that all images ...
2
votes
1answer
251 views

2nd button row from WP Super Edit or TinyMCE Advanced doesn't show to 2nd admin

I'm currently using WP Super Edit. But the same problem persists with TinyMCE Advanced. This is how it is configured: http://i.imgur.com/4PyXi.png http://i.imgur.com/YniBi.png ...
1
vote
1answer
23 views

Rewriting WordPress core functionallity: Changing the private posts

I'm trying to rewrite a bit of core WordPress functionality. I'm using WordPress 3.9.2 and I consider myself an intermediate in WordPress programming. This is an image that will explain what I am ...
1
vote
1answer
27 views

I'm having some issues with previous_post_link() and next_post_link()

I've been developing a Wordpress site lately and have come across an issue. I need the user to be able to navigate between posts, I'm using the standard Wordpress functions previous_post_link() and ...
0
votes
1answer
34 views

Make a vertical dynamic list of posts in alphabetically order and in columns

I have a page that lists all the posts from a given category of an custom post type dynamically. I do this with a plugin that list posts and a shortcod and with css i created 9 columns where they are ...
0
votes
2answers
307 views

WP 3.5.1 password protected not working for post

After adding right password fornt side wp, post not open and it's say Not Found Apologies, but the page you requested could not be found. Perhaps searching will help. how to solve this?
0
votes
0answers
7 views

Wordpress Popular posts by view with time range

I am using this code provided here to display popular posts by views count. Code found here http://www.wpbeginner.com/wp-tutorials/how-to-track-popular-posts-by-views-in-wordpress-without-a-plugin/ ...
0
votes
3answers
12 views

An array of latest wp_titles

I want to get the latest titles with the_title() in an array so that I can loop through them in my javascript function. How can I create this array? Many thanks!
0
votes
2answers
2k views

Using $wpdb to query posts with meta value containing current post_id

I am trying to to use $wpdb to retrieve a list of posts from the Database where the meta_value in the wp_postmeta table contains the current post_ID in inverted commas. eg. "10" The inverted commas ...
0
votes
2answers
946 views

add_rewrite_rule and template redirect not working

I have the following pairs: add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top'); if(is_page('ask')){ $tname = 'add-question.php'; ...
0
votes
0answers
22 views

Wordpress Media URLs?

I just launched a Wordpress site after having done all of the standard procedures: moved the uploads folder, uploaded the database, and did a search and replace on all of the urls in the database. ...
0
votes
2answers
322 views

How to change the order of elements within a post?

I have a site with several thousand posts. They all have just a single attached image of varying size. All posts are displayed in full (no thumbnail view). I'd like to be able to change the way the ...
-1
votes
0answers
14 views

Some Posts Won't Preview When Posting To Facebook [on hold]

When I post the link http://316apps.com/ipreachersblog/2014/08/18/facebook-messenger-are-they-watching-you/ the Facebook post looks like this: However, if I post the link ...
0
votes
2answers
10 views

If Specific Post, Link Elsewhere

I would like to create a conditional statement that checks the loop for a specific post ID, then if true, it outputs a link elsewhere. This is what I have so far: <?php ...
0
votes
0answers
11 views

Sticky wp_dropdown_categories on Front End Form

I have built a front end posting form and I am trying to make the entire form sticky. I have used wp_dropdown_categories but I can not seem to figure out how to make it remember the selection if there ...
3
votes
2answers
73 views

Adding Post Counts to Menu (Nav) Programmatically?

I'm fairly stumped on this. Without getting too query-heavy, I was wondering what path one might take to produce a menu that links to a category of posts, and displays in parenthesis how many new ...
0
votes
1answer
35 views

post__in not working with pre_get_posts, but post__not_in does work

I have an action setup on pre_get_posts which I would like to use post__in on. I used the following code as a test: $query->set('post__not_in', array(74485,1528,71460)); This works, the total ...
0
votes
0answers
14 views

How to add sidebar layout options in meta boxes under posts [on hold]

I am working on a WordPress theme and i want to implement this option in my theme which allow users to choose weather they want sidebar on right side of the post, left side or no sidebar at all and it ...
0
votes
1answer
20 views

Changing max number of blog posts per-page doesn't work

I've change my "Setting" > "Posts and comments" > "Show the most" to 20 , but still home page only show 2 posts and go next page's sometimes show 3 or 4 posts , please help. Sorry for bad english !
1
vote
1answer
67 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

Update content of multiple pages/posts at once?

Is this possible? using shortcodes? Custom post type? Custom Fields? CSV upload? Unique content per page. Do not need to create new pages, Just update body of them. Seems like a tough one? Also can ...
0
votes
0answers
26 views

Add icon near meta box title in posts/pages

I'm trying to add some "help icon" that will be use to show "help text" with the help of the tooltip or pointers to admin section. Now I'm trying to understand how can I add in the posts/pages in ...
-1
votes
1answer
24 views

Page Template for Every Custom Post Type [on hold]

I'm just new in wordpress, I just wanted to ask if it's a bad practice if I'll create page template for every custom post types? I mean if I have CPT [custom post type] with different content, like my ...
0
votes
0answers
21 views

connecting two post types or functions

Alright, so I have started asking related questions to this bout 4 times now trying to figure out what exactly I need to ask without making it too complicated. So I've got two examples of this that ...
1
vote
2answers
320 views

How to add shortcode tags in single.php

In my theme has one shortcode tags to display tags of post and function to load content post. But in function doesn't include shortcode tag. Now I want to add it to function but i don't know how to do ...
4
votes
1answer
85 views

Inject post (from specific category) between posts in Loop

I would like to add a post (from specific category) between posts in the WordPress Loop (such as 'Sponsors'). Example: P P P S P P S P P S P P How can I achieve this? I am a beginner with coding, so ...
-1
votes
0answers
17 views

How to Create News and Magazine theme? [closed]

Hello Every One I Know How to Create and Develop blog themes for wordpress but I want learn How to create Fremwork to show posts like News And Magazine themes Not Blog themes, I mean Create theme ...
0
votes
1answer
14 views

How to change the publishing date of each posts?

I need to set the publishing date of many posts with the post date (the creation date). I know that I can do it editing the single post and changing the Published on value but this procedure is ...
0
votes
2answers
427 views

WP Query - duplicated posts once including tags in search results

I running WordPress on IIS & SQL server. As some of the plugins do not work correctly with DB ABSTRACTION I am using a lot of functions.php filters as so on. To make my search results include ...
0
votes
1answer
242 views

Converting multiple loops into one single loop with pagination

I am using Isotope jquery plugin to filter/sort posts in Wordpress but to correctly filter the posts into the right order I have needed to output each category one after the other. To do this I've ...
0
votes
1answer
22 views

Change Author Name to Sitename on Frontend

How can I change the author name on the frontend to be the sitename instead without modifying theme? I am basically looking for something that I can package as plugin on my site that will no longer ...
0
votes
0answers
10 views

How to handle this problem related to the publishing date of imported posts?

I have the following situation that I have to handle: I imported some posts from an old custom blog (not WordPress, a custom blog made using ASP). I exported in CSV format the content of the table ...
0
votes
1answer
13 views

What happens if I delete all the rows that represents a post revision from the posts table into WordPress database?

I have the following doubt related to the posts table of the WordPress database. I see that when I create a new post in this table are automatically created 2 new rows. 32 1 2014-08-16 15:07:22 ...
0
votes
0answers
12 views

Get next post in category with AJAX?

I need a simple solution to load the next post in the category of the current post (in a custom single.php) with AJAX once the reader scrolls to the bottom of the page. I'm using a custom theme. ...
0
votes
1answer
12 views

Include post on external custom site

How do I include single post ( I mean image, title, and a bit of text ) on my own custom site? I have wp in subdirectory and I just want to make "Recent article" box on my site. I was looking for it 2 ...
0
votes
1answer
22 views

WP Load post with ajax and apply isotope

I ma using Ajax Load More to get my posts and show in a frontend, then I have applied isotope to the items. When I first show some items and applied isotope, it's working perfectly. But When second ...
0
votes
1answer
13 views

Why when I create a new post I found 2 record related to this post into the posts database table?

I am very new in WordPress development and I have a doubt about the WP database table named posts I have observe that when I create a new post (into the WP administration panel) are created 2 record ...
-1
votes
0answers
13 views

daily , weekly , monthly popular posts widget [closed]

I looking for plugin popular posts widget having daily,weekly,monthly options. and styles like Posts Slideshow Widget. or add function in this plugin. ...
0
votes
0answers
7 views

Where is stored the Publish date value for a post?

I have to do a massive change in the database and I need to know in what field of what table is stored the publish date value of a post. Using phpMyAdmin I see that each record into the wp_posts ...
1
vote
2answers
405 views

Issue where WP Featured Image will not display

The code I'm using, is outside of WordPress i.e. define('WP_USE_THEMES', false); require('blog/wp-blog-header.php'); global $wpdb; The code that I'm trying to display the post thumbnail (the ...
0
votes
1answer
25 views

Serialize $_POST global in wordpress

I'm new here in the community, and I would like to ask if it is best practice to do this in Wordpress? maybe_serialize( $_POST ); and then store it to the db? I'm a newbie in using Wordpress, so ...
1
vote
3answers
2k views

Automatically Import WordPress Blog to Facebook Page

I managed to import wordpress post to Facebook with this: http://www.insidefacebook.com/2009/02/22/how-to-import-your-blog-into-facebook/ When i create new post, Facebook doesn't show any new posts ...
1
vote
1answer
20 views

wp_insert_posts add title with count of posts plus one

I'm trying to create posts where title will be 1, 2 etc, $published_posts = wp_count_posts('orders')->publish; $count = $published_posts + $a; $success = get_page_link(794); ...
1
vote
1answer
23 views

Wordpress Sidebar menu for posts based on date - guidance needed

One of the issues I have with WordPress is knowing when (and when it is possible) to use the WordPress back end instead of coding my own solution from scratch. This question is based around this. ...
0
votes
1answer
16 views

How to create a posts archive page showing only the date and the post title

I have the following question about how to create an archive page on my website. As you can see opening this link: http://lnx.asper-eritrea.com/ Under the header slideshow I have 3 boxes, the second ...
0
votes
1answer
13 views

How to show the posts list into a static page? Problems to use the loop into a static page

I have the following problem: I have to create a posts archive into a static page. So I have created this page template containing the loop to interate on my posts: <?php /** * Template Name: ...
0
votes
0answers
13 views

Run function after post is updated

I would like to run a function after a post is saved. That function takes a .txt file thats uploaded with Advanced Custom Field file field, makes it into an array to then a json data. I want the json ...
0
votes
0answers
12 views

WP load posts by ajax, count and update every time

I have used Ajax load more plugin to load my posts. I also need to display the total post count and update it after every time post load and append to the list. Can anyone give me any idea about ...
1
vote
1answer
376 views

Allowing the SoundCloud player to appear in a post excerpt

I am setting up a website for my music, in conjunction with my SoundCloud account. I plan to post the links to my soundcloud player as blog posts, but I can't figure out how to make the blog excerpts ...
0
votes
2answers
178 views

Get first comment link on the post itself

I have this function and a link to a post: <?php foreach ($results as $id) { $post = &get_post( $id->ID ); setup_postdata($post); <li><a <?php href="<?php ...