We've found 16 snippets for you in Posts & pages
Get Current Page ID Outside The Loop

Get Current Page ID Outside The Loop

Outside the loop, WordPress does not know what context it is in. To get curre...
Set Minimum Word Count to Publish Post

Set Minimum Word Count to Publish Post

This code snippet will let you set a minimum word count for WordPress posts. ...
Add Published Date & Last Modified Date in WordPress

Add Published Date & Last Modified Date in WordPress

Sometimes you want to display last modified date of articles along with publi...
Add Excerpt Support for WordPress Pages

Add Excerpt Support for WordPress Pages

WordPress does not allow excerpt on pages but with the help of this code snip...