Month: January 2018

WoordPress WooCommerce get logout url

In this post we ate going to learn about woocommerce get logout url and lets make that step by step First: get the my account page id by using the code get_option( ‘woocommerce_myaccount_page_id’ ); Second: check if there is any myaccount page id Third: get the parmalink by passing the myaccount page id through the […]

Read More

WordPress WooCommerce get my-account page url

In this post we are going to learn to get myaccount page url of woocommerce , now start step by step First: get the my account page id by using the code get_option( ‘woocommerce_myaccount_page_id’ ); Second: check if there is any myaccount page id Third: get the parmalink by passing the myaccount page id through […]

Read More

How to get featured image url of a post or pages

In this post we are going to learn about wordpress get featured image url now start step by step First get the id of the post or page of which featured image url you want to get by using the code $post->ID Second get the id of the thumbnail image by passing the post id […]

Read More

How to get wordpress page url or link by page or post name

to get the url of a page by its name in wordpress first you need to get the id of the page by page name and then you have to get the page url by id Now to get the id of the page by page name use the below code $page = get_page_by_title( ‘Hellow […]

Read More

How to get WordPress page url by id

to get the url of any post or page in wordpress first you need to get the id of that page or post, and for that go to admin panel and open the post or page for edit and on url you will find ?post=<post id> and get the post or page id from there. […]

Read More