WordPress-WP
Category
30 posts found
WordPress a Content Management System (CMS). It is commonly associated with the idea of a blog service, but it is actually much more than that! This platform makes it possible to build robust and fully functional web sites, and to reach almost any level of complexity. The security of a
Post in
WordPress giving great features in get_posts function with arguments that function also having great customization. get_posts function also give us great result of posts with our complex requirements, so through that function we will get post by post’s url-slug-key. Check out following function I have created to used it easily
Post in
Download WordPress Download WordPress from https://wordpress.org/download/ Extract WordPress.zip file Extract WordPress.zip file to your projects directory htdocs for xampp or www directory for wamp with name “sdtutsblog” Start Apache and Mysql Services Click on Start buttons in actions row of Apache MySql Create database go to your browser and enter
Post in
Create folder and Directories This tutorial is made for all of beginners to learn how to create html to WordPress theme, Here is all of steps are defined with video tutorial, if you are facing any of problem or missed any step watch the video tutorial. Register theme Copy folder
Post in
single template is used post/post-type inner page, for more read WordPress template hierarchy. Create single.php in theme directory and call get_header and get_footer function to include header and footer section of theme. Start Loop for single post Create breadcrumb and add links Add links and create breadcrumb. Show post title
Post in
Create comments template create comments.php file in theme directory and we have already called in single.php by using comment_template() WordPress core function. Create condition of post if comments are enabled else show message look below. if (get_option(‘comment_registration’) && !$user_ID) condition used for registration is enabled from admin panel user must
Post in
This function I was made specially for my theme which is running in this blog. I made function because Gravatar generate random images on each user’s avatar if user not uploaded real image, this function will not work no localhost so please use domain path eg: domain.com/wp-content/themes/mytheme/images/DefaultAvatar.jpg
In Current 4.9 or preview versions we cannot get the_excerpt or get_the_excerpt by post ID so here is a little bit hack code to get excerpt paragraph of post by postID with alternate code
Post in
I was development a section a in my #wordpress theme I need the current category from url, here is I figure out how to get category from url
Post in
The #wordpress concatenating […] in #the_excerpt and sometimes with [&hellip]; I here function defined as trim_excerpt and it passed in add_filter you can copy and put the following code in functions.php file of your current active theme. little bit information about add_filter function #add_filter can change modify of the data, you can customize everything which is
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