WordPress-WP
Category
30 posts found
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
#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
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
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
#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
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
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
Create wordpress password for your theme function or plugins
Post in
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
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
TOP COMMENTED
laravel remove public from url
This is weird thing from #laravel on fresh installation, so…
3 comments
Pakistani Web Designer’s Web Designing…
Web Design Illustrations - IdealHut.com by Design-Maker…
2 comments
MEASURE UNITS PX, CM, IN, MM CONVERSION…
2 comments
28 Android IOS Mobile Application Frameworks
jQuery Mobile Ionic: Advanced HTML5 Hybrid Mobile App Framework Mobile…
2 comments
20 jQuery HTML5 Video Player for Website
Video.js The Player Framework MediaElement.js - HTML5 video player Create…
2 comments