We've found 40 snippets tagged Posts & pages
Create Post Navigation Like Dribbble in WordPress

Create Post Navigation Like Dribbble in WordPress

Dribbble use image thumbnails for browsing through the website. We can also c...
Add Nofollow Attribute to All Links in a Specific Category

Add Nofollow Attribute to All Links in a Specific Category

This snippet will add nofollow attribute to affiliate or marketing links, pre...
Automatically Highlight First Paragraph of Post Content

Automatically Highlight First Paragraph of Post Content

Some websites highlight first paragraph of the article and style it different...
Display Custom Post Types in Recent Posts Widget

Display Custom Post Types in Recent Posts Widget

WordPress does not allow posts from custom post types in Recent Posts widget....
Use Custom Permalink Structure for Pages in WordPress

Use Custom Permalink Structure for Pages in WordPress

If you want to use different custom permalink structure rules for website pag...
Add Read More Link to WordPress Post Excerpts

Add Read More Link to WordPress Post Excerpts

If you use excerpt on post stream pages and archive pages then this code snip...
Change The Post Excerpt Length in WordPress

Change The Post Excerpt Length in WordPress

Changing default value of post excerpt length in WordPress is fairly very eas...
Get Category Slug of Current Category in WordPress

Get Category Slug of Current Category in WordPress

In this article we will show a simple way to get category slug of current cat...
Exclude Category Posts From RSS Feed

Exclude Category Posts From RSS Feed

WordPress offers a pre_get_posts hook that we can use to exclude category pos...
Exclude Pages From WordPress Search Results

Exclude Pages From WordPress Search Results

With this WordPress code snippet you can easily modify search query to exclud...
Exclude Category Posts From WordPress Blog

Exclude Category Posts From WordPress Blog

Sometimes it's important for you to exclude category posts from blog homepage...
Set HTML Editor as Default Post Editor in WordPress

Set HTML Editor as Default Post Editor in WordPress

WordPress default post editor is visual editor. Adding this code snippet will...