Month: January 2018

WoordPress WooCommerce get logout url

In this post, we ate going to learn about woo-commerce get logout URL and let’s 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 my-account page id Third: get the permalink bypassing my account page id through the function […]

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 bypassing the post id through […]

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