Category: Wordpress Tricks
-
How to get wordpress post thumbnail url?
Hello, welcome to therichpost.com. In this post, I will tell you How to get wordpress post thumbnail url? WordPress is the best cms like I always say. This get wordpress post thumbnail url will help you a lot. Here is the function to get wordpress post thumbnail url: $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID), ‘thumbnail’ ); There…
Written by

-
Upload file in wordpress media library with jquery ajax from frontend form
Hello, welcome to therichpost.com. In this post, I will tell you how to Upload file in wordpress media library with jquery ajax from frontend form? WordPress is the best cms like I always say. We will also use jquery ajax in it. In my many posts, I always talk about jquery. Jquery helps me lot…
Written by

-
WordPress default logout function
Hello, welcome to therichpost.com. In this post, I will tell you WordPress default logout function. WordPress is the best cms. Here is the WordPress function to WordPress default logout function: <?php echo wp_logout_url( site_url().’/login’ ); ?>”> This is the another example: <a href=”<?php echo wp_logout_url( site_url().’/login’ ); ?>”><i class=”fa fa-sign-out” aria-hidden=”true”></i> logout</a> There are so many…
Written by

-
How to add css to wordpress admin head with wordpress add action hook?
Hello, welcome to therichpost.com. In this post, I will tell you How to add css to wordpress admin head with wordpress add action hook? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress.…
Written by

-
How to make WordPress Website seo friendly?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to make WordPress Website seo friendly? Seo plays very important part in every website. I will give you some tips to make WordPress Website seo friendly. Here is the image of seo graph of Therichpost.com progress on Google search after one…
Written by

-
Change default WordPress search to search for woocommerce products
Hello, welcome to therichpost.com. In this post, I will tell you How to Change default WordPress search to search for woocommerce products? WordPress is the best cms. There is default wordpress search form but we can it for search Woocommerce products also with simple trick. This is the main code for search woocommerce products: <input…
Written by

-
Get WordPress data in Angular2 with WordPress rest api
Hello, welcome to therichpost.com. In this post, I will tell you How to Get WordPress data in Angular2 with WordPress rest api/ Nowadays Angularjs is very popular and known as one page website. I am familiar with Angular 1 very well but Angular 2 is totally different with Angular 1. Angular2 is totally command based.…
Written by

-
How to get all users in wordpress with rest api hook?
Hello, welcome to therichpost.com. In this post, I will tell you How to get all users in wordpress with rest api hook? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about wordpress. Now I…
Written by

-
Remove image size from thumbnail in wordpress with jquery
Hello, welcome to therichpost.com. In this post, I will tell you How to Remove image size from thumbnail in wordpress with jquery? WordPress is the best cms and jquery is also the best. Today we will do this size trick with jquery. Please check this image link with size: https://therichpost.com/wp-content/uploads/2017/12/jquery-364×150.jpg Please check this image link…
Written by

-
Remove query string from wordpress styles, scripts path with add filter hook
Hello, welcome to therichpost.com. In this post, I will tell you How to Remove query string from wordpress styles, scripts path with add filter hook? WordPress is the best cms. WordPress hooks(add_action, add_filter) give us the power to edit or change the code without interruption into the files and this is the best thing about…
Written by
