Get WordPress post content by post id

Get WordPress post content by post id $my_postid = 12;//This is page id or post id $content_post = get_post($my_postid); $content = $content_post->post_content; $content = apply_filters(‘the_content’,

Read More »
custom taxonomy in wordpress
Uncategorized
Amitpal Singh

Custom Taxonomy in WordPress (custom post type)

Custom Taxonomy in WordPress for custom post type // Custom Taxonomay “Location” for custom post type “Books” add_action( ‘init’, ‘create_locations_nonhierarchical_taxonomy’, 0 ); function create_locations_nonhierarchical_taxonomy() {

Read More »

Display a custom notice in woocommerce

Display custom notice in woocommerce Quick Solution: /* custom notices */ add_action(‘template_redirect’, ‘my_custom_message’); function my_custom_message() { //you can change role or page slug below if

Read More »

How to Attribute?

Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
for Example: Website, Social Media, Blogs, ebooks , newsletter, etc.
Lorem ipsum is typically a corrupted version of De finibus bonorum et malorum, a 1st-century BC text by the Roman statesman and philosopher Cicero.
Copied!

Got a Question? Check out our FAQ Section.

Your action, our appreciation

It encourage us to give you more valuable content on website.