I have a page with custom post type: Physios.
On the single post page for the Physio setup with Elementor, I want to display blogposts tagged with the title of the custom post type.
As an example:
I have a single post page that shows as profile page for a Physio with the title "John Doe"
I have several blog posts tagged "John Doe".
On the single post page for John, I want to display all the blogs that is tagged with his name.
If I use the built in query the problem then is that they display on John's page, but they also will display on Jimmy's page which I don't want to happen.
Thank you for getting in touch. In a case like this we may need to use a taxonomy query. Are the tags Taxonomies ?
Can you allow me to have admin access to the website so that I can have a look and a link to the page that you're trying to get the post lists to display ?
I've enabled the private fields for your next response.
Thank you but I'm having a bit of trouble navigating. Where is the view that you are currently using to display the posts?
So for thisPhysio here. hidden link
You will like to display this post below for them ? hidden link
Essentially if the Physio's name is in the tags then display that post on their profile. Have you set up the view ? If so can you send me a link to the view on the backend ? Also if there is a template that you're using for the Physio please send me a link to this as well.
However when you create your view you can actually add a Query filter to the view for the Taxonomy. See Screenshot
Then select your Tags, now once the filter is added you will need to set it to filter by a shortcode attribute. See Screenshot
Finally you will set the filter to use the tag name instead of the slug. See Screenshot.
Now all that is needed to be done is after you've finished designed how you want you view to display is to add it to your page template using the shortcode format below.
Yes you are correct that in the custom post page hidden link
I would like to display a blogpost with that is tagged with her name. I have tried setting this up in a new layout using elementor, the blogpost I would want to display under the social media icons in the right column: hidden link
I'm not using toolset to create the view, since I find elementor to be more flexible when it comes to styling without having to use css.
You can use views to just create the list of blog posts and just add the view to the elementor template using the shortcode in my previous response.
Unless Elementor provides a way to query the posts and display other posts then you can use elementor, however the elementor team would need to provide you with the correct setup for this.