Year: 2018
-
Angularjs 2 services with wordpress rest api
Hello, welcome to therichpost.com. In this post, I will tell you How to Get WordPress data with Angular2 services? 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. WordPress is the…
Written by
-
Custom jQuery regular expression validation for Date, time, string
Hello, welcome to therichpost.com. In this post, I will tell you Custom jQuery regular expression validation for Date, time, string. I personally like jquery very much. Most of my code is full with jquery. When I stuck in php or other language then that stuckness I remove with jquery code. Here is the regular expression…
Written by
-
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