WordPress-WP

Category

30 posts found

14 Oct 2016
3.63K
No Comments

the_category(); function is not allowing to direct change tags and attributes, get_the_category(); function return categories of posts in array so we can modify with custom html tags and attributes check out the below example code, its used in under loop of  #the_loop

Post in

26 Sep 2016
3K
No Comments

#wordpress is show too much text the the_excerpt, so we need to customize it for showing shorted excerpt paragraph. copy this code and paste into your current active theme’s functions.php file set different post excerpt length for mobile devices wp_is_mobile is builtin function of #wordpress which return true when it

Post in

20 Aug 2015
3.69K
No Comments

Why Upgrade to the new wordpress? Its recommended to upgrade the wordpress newly version when you see notification on top bar of admin panel, Because in new version have fixed many of bugs and issues fixes of layout, panel UI, editor and introduce new features and API functions.   Why

Post in

11 Apr 2015
0.74K
No Comments

Mostly #wordpress theme developers put header data information in header.php file of theme and they not use each different header file for each wordpress post or pages category and this is best dynamic and quick way to put header information in header.php like head tag and #css #javascript and other

Post in

29 Nov 2014
0.69K
No Comments
Define theme template in wordpress

#wordpress provide a good page template feature show page layout in different layouts like single-column, double-column, full-page, or custom-template. default template is page.php for page, so you want to show contact form or different layout from other page. To define your layout  go to  /wp-content/themes/theme_folder/ create file with php extension,

Post in

19 Nov 2014
0.91K
No Comments

By default #wordpress get_search_form function return default html of search form, you want to change or modify search form html here is example to replace whole search form. In below code we used #wordpress hook to modify search form html

Post in

19 Oct 2014
0.64K
No Comments

In some where we need only thumbnail source link the function the_post_thumbnail cannot return  thumbnail source link, we ca two ways to get thumbnail src. 1. wp_get_attachment_thumb_url 2. get_attachment_src

Post in

18 Sep 2014
0.94K
No Comments

Create wordpress password for your theme function or plugins

Post in

3 May 2014
0.55K
No Comments

WordPress theme development tricks don’t forget them.   CALL WP_HEAD FUNCTION IN YOUR THEME’S HEADER.PHP FILE Call wp_head() function in your theme header.php file because many plugins even theme developer add javascript, css files through functions.php file with many some functions like wp_eneque_script()  wp_eneque_style(), and many seo plugins like WordPress SEO, All

Post in

19 Apr 2014
27.2K
No Comments

Its hard for peoples who don’t know more about programming how they call a wp_nav_menu_walker to manipulation wp_nav_menu data, here is I am telling you easy way to add your custom class in wp_nav_menu’s link. Go to Media from WP-Admin, At the top of page you will see screen options

Post in