Category: Wordpress

  • How to get posts with featured image using WordPress API

    By

    If you get posts by request to this endpoint /wp-json/wp/v2/posts, you will see the the field featured_media in the response have value is a number. This is because the featured image of a post is saved into a different table in database called media. To get information about the featured image in the response json,…

  • How to insert a box of internal posts in WordPress
    How to insert a box of internal posts in WordPress

    By

    When writing posts on WordPress or any other CMS, it is a very common task to link to other internal posts. Let’s explore the different ways in which this can be done. Insert by press [[ By press double the square bracket button in your keyboard, a list of posts box will appear, you just…