WordPress-WP

Category

30 posts found

11 Mar 2019
1.05K
No Comments

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

15 Mar 2018
2.72K
No Comments

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

6 Jan 2018
0.91K
No Comments

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

6 Jan 2018
1.69K
No Comments

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

6 Jan 2018
1.01K
No Comments

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

6 Jan 2018
43.83K
2 Comments

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

29 Dec 2017
0.74K
No Comments

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

Post in

29 Nov 2017
0.6K
No Comments

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

23 Dec 2016
0.68K
No Comments
how to get category from url in wordpress

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

16 Nov 2016
5.38K
No Comments

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