Home Forums Backend Issues (wp-admin) DB query for field via URL Reply To: DB query for field via URL

  • Hi @Agrajag

    May I ask why you need to wrap all this within a shortcode?

    The ACF plugin is best used by editing your theme and using PHP code to render data.

    Perhaps you could provide some screenshots to show why the shortcode is needed?

    I don’t think WP has a function to find a post via a url (I may be wrong). So I would be more inclined to use a post_id instead.