How to find your fan page ID

Sometimes you use a third party which asks you input your fan page ID. However, you don't know how to get it. Let me show you how. It is very easy. Ok, so I will show you two approaches to get your fan page ID

How to remove custom post type slug from url

Today, I got a task call &#8220;Remove &#8216;product&#8217; slug out single product url&#8221; in Woocommerce. The code below work ok but I properly make conflict with post, page which have same slug with product. &lt;?php /** * [removeSlug description] * @param [type] $postLink [description] * @param [type] $post [description] * @param [type] $leavename [description] * &hellip; <p class="link-more"><a href="https://www.duyngha.com/blogs/remove-custom-post-type-slug-url/" class="more-link">Continue reading<span class="screen-reader-text"> "How to remove custom post type slug from url"</span></a></p>