-
For displaying next and previous pages of posts see [[Function Reference/next_posts_link|next_posts_link()]] and [[Function
For displaying next and previous post navigation on individual posts, see [[Template Tags/next_post_link|next_post_link()]] and [[Template Tags/
4 KB (660 words) - 08:10, 22 January 2024
-
...lays the total number of posts an author has published. Drafts and private posts aren't counted. This tag must be used within [[The Loop]].
Displays the author's name and number of posts.
1 KB (146 words) - 08:08, 22 January 2024
-
Displays a link to all posts by an author. The link text is the user's '''Display name publicly as''' fi
<p>Other posts by <?php the_author_posts_link(); ?></p>
1 KB (189 words) - 08:08, 22 January 2024
-
{{#dotorgredirect:https://wordpress.org/support/article/writing-posts/}}
{{en|Writing Posts}}
19 KB (3,253 words) - 08:08, 22 January 2024
-
==Manage → Posts==
...to this Posts SubPanel. On this SubPanel you can edit and delete existing posts.
2 KB (329 words) - 02:16, 9 December 2008
-
{{en|Plugin API/Action Reference/pre get posts}}
{{ja|プラグイン API/アクションフック一覧/pre get posts}}
10 KB (1,373 words) - 01:53, 24 January 2024
-
{{en|Function Reference/query posts}}
{{it|Riferimento funzioni/query posts}}
13 KB (2,060 words) - 01:56, 28 June 2016
-
...posts based on a set of parameters. It retrieves a list of recent posts or posts matching this criteria. <tt>get_posts</tt> can also be used to create [[The
...get_posts|pre_get_posts]]</tt>. If you would just like to call an array of posts based on a small and simple set of parameters within a page, then <tt>get_p
13 KB (1,989 words) - 08:02, 22 January 2024
-
{{en|Linking Posts Pages and Categories}}
{{ja|Linking Posts Pages and Categories}}
11 KB (1,839 words) - 08:52, 12 October 2020
-
...rder. However, there are different WordPress templates you can use to list posts in alphabetical order.
For example, you may want posts to display in alphabetical order if you have a category named "Glossary", w
4 KB (610 words) - 22:54, 4 December 2013
-
...the blog archive will only query the posts table. If you wanted to display posts that have specific meta value you will have to alter the <tt>wp_query</tt>
$join .= "LEFT JOIN $wpdb->postmeta ON $wpdb->posts.ID = $wpdb->postmeta.post_id ";
2 KB (237 words) - 07:39, 7 November 2020
-
{{#dotorgredirect:https://wordpress.org/support/article/writing-code-in-your-posts/}}
{{en|Writing Code in Your Posts}}
14 KB (2,201 words) - 08:02, 22 January 2024
-
...t to use data stored in your own tables to determine which [[Writing Posts|posts]] should be displayed.
...d to implement a post tagging [[Plugins|plugin]], which allowed organizing posts in less structured collections than the WordPress [[Manage_Categories_SubPa
13 KB (1,911 words) - 12:58, 4 April 2016
-
{{en|Function Reference/rewind posts}}
{{it|Riferimento funzioni/rewind posts}}
2 KB (270 words) - 07:49, 22 January 2024
-
{{en|Inserting Images into Posts and Pages}}
{{pt-br|Inserindo Imagens em Posts e Páginas}}
8 KB (1,386 words) - 23:23, 22 August 2014
-
#REDIRECT [[Function Reference/the author posts]]
49 bytes (6 words) - 22:01, 20 June 2010
-
#REDIRECT [[Function Reference/the author posts link]]
54 bytes (7 words) - 22:01, 20 June 2010
-
= Posts and Pages =
...posts_custom_column</code> is located in {{Trac|wp-admin/includes/class-wp-posts-list-table.php}}.
2 KB (351 words) - 09:40, 29 September 2020
-
645 bytes (85 words) - 01:41, 24 January 2024
-
961 bytes (138 words) - 01:41, 24 January 2024
-
...tegory|Categories]] as links. When one of those links is clicked, all the posts in that Category will display in the appropriate [[Category Templates|Categ
; optioncount : (''boolean'') Sets whether to display a count of posts in each Category. Valid values:
6 KB (913 words) - 08:45, 28 January 2016
-
; show_post_count : (''boolean'') Display number of posts in an archive (<tt>TRUE</tt>) or do not (<tt>FALSE</tt>). For use when '''t
Displays all archives by month in an unordered list, with count of posts by month.
3 KB (504 words) - 08:41, 28 January 2016
-
* Does not display the count of the number of posts
:* <tt>postbypost</tt> (posts ordered by post date)
5 KB (640 words) - 08:11, 22 January 2024
-
===Number of Links in Posts===
...ay help stop comment spammers who include dozens of links in their comment posts, you can change the setting for the number of links permitted in a comment.
10 KB (1,579 words) - 22:41, 8 November 2016
-
<a href="<?php echo get_year_link(''); ?>">Posts from this year</a>
2 KB (303 words) - 08:04, 22 January 2024
-
Displays the calendar (defaults to current month/year). Days with posts are styled as such. This tag can be used anywhere within a template.
Displays calendar highlighting any dates with posts.
2 KB (216 words) - 08:11, 22 January 2024
-
Note that when used outside The Loop on a posts page (index, archive, etc.) without the ID parameter, it will return the UR
Returns the permalinks of two specific posts (post IDs 1 and 10) as hypertext links within an informational list. As abo
3 KB (458 words) - 00:14, 18 July 2015
-
<a href="<?php echo get_month_link('', ''); ?>">All posts this month</a>
2 KB (392 words) - 08:11, 22 January 2024
-
<a href="<?php echo get_day_link('', '', ''); ?>">Today's posts</a>
...get_day_link( $archive_year, $archive_month, $archive_day); ?>">This day's posts</a>
2 KB (347 words) - 08:11, 22 January 2024
-
...outside the loop, you'll need to pass the post ID. Can be used with pages, posts, attachments, and revisions.
2 KB (269 words) - 08:10, 22 January 2024
-
Displays or returns the date of a post, or a set of posts if published on the same day.
...t post (that is, the first instance of the_date()). To repeat the date for posts published under the same day, you should use the [[Template Tags|Template T
3 KB (425 words) - 08:10, 22 January 2024
-
...20 posts, then take a weighted average of the number of comments on recent posts and if more comments than that are left in a short period of time start put
** Automatically moderate posts more than 10 days old
4 KB (606 words) - 17:48, 25 May 2019
-
...pinions and case studies to name but a few. Such entries are known as blog posts.
..., the content consists of articles (also sometimes called [[Glossary#Post|"posts"]] or "entries") that the author(s) writes. Yes, some blogs have multiple a
21 KB (3,392 words) - 08:10, 22 January 2024
-
** div id = "content" // contains all posts
3 KB (498 words) - 16:13, 5 January 2008
-
If the quicktag [[Writing Posts#Visual Versus HTML Editor|<tt><nowiki><!--more--></nowiki></tt>]] is used i
...a <tt><nowiki><!--more--></nowiki></tt> in the content, but for all other posts it will display a more link.
4 KB (635 words) - 07:59, 24 January 2016
-
...and allows, template writers to explicitly choose whether to display full posts (using <tt>the_content()</tt>) or excerpts (using <tt>the_excerpt()</tt>).
6 KB (965 words) - 18:05, 22 January 2016
-
Displays page-links for paginated posts (i.e. includes the <code><!--nextpage--></code> [[Write_Post_SubPanel
2 KB (308 words) - 18:24, 26 March 2016
-
...5.1.3 and above. If post is listed in more than one category, it will show posts within the parent category, not the child category. Options are:
4 KB (587 words) - 19:08, 25 March 2016
-
...5.1.3 and above. If post is listed in more than one category, it will show posts within the parent category, not the child category. Options are:
4 KB (589 words) - 19:07, 25 March 2016
-
For displaying next and previous pages of posts see [[Function Reference/next_posts_link|next_posts_link()]] and [[Function
For displaying next and previous post navigation on individual posts, see [[Template Tags/next_post_link|next_post_link()]] and [[Template Tags/
4 KB (660 words) - 08:10, 22 January 2024