Archives for Wp Tips - Page 4
How to get last word of post title in WordPress
Sometimes we need to get the last word from title of our post. We want the last word as per our requirement in few rare cases. You can use below mentioned code directly to the place where you want to…
Best way to use wordpress functions outside of WordPress
Sometimes we need to call wordpress functions outside of wordpress in a situation when we want to use them as they are. This will minimize our work to built custom functions to use outside environment and make our work easy.…
How to use wordpress functions outside of WordPress
While working with wordpress, sometimes we want to use wordpress functions out of it. In most of the cases, we need this when we want to fetch latest wordpress posts to show on another website which is not in wordpress.…
How to add html in category description in WordPress
As per the default functionality, we are not able to use any html tags in category description textbox in wordpress admin. Wordpress prepared this section for normal content. So, to make it possible, wordpress prepared a filter and put it…
How to get widget ID in WordPress
We know that widgets are important part of wordpress. We use widgets in different ways to show our content at front end. Generally we use wordpress widgets to show our required parts in our sidebar, footer, header etc parts of…
How To Show Complete Slug Of A Post in WordPress Admin
As we all know that all the wordpress posts are having different slugs. Slug in wordpress are used to create permalink of that particular post. Wordpress generate the slugs according to the post title automatically. So, as per wordpress automatic…