Trying to create a shortcode to display categories with a specific product tag
I currently have the following and it is not working:
If I put the shortcode [tagtagtag=246] i get an array to string error
I currently have the following and it is not working:
If I put the shortcode [tagtagtag=246] i get an array to string error
I’m trying to list the custom posts associated with a client.
I want to create a shortcode to display the posts posted on actual day.
I would like to display posts with a ‘year’ parameter. For example: to display posts from 2020, the shortcode should look like [archived-posts year=”2020″]. I have tried my code below but it’s not working. Maybe the ‘meta_value’ is not correct? Any help would be appreciate it.
My requirement: I am trying to create a simple gutenberg block which will have a textarea and a dropdown. Once a user has provided the details I want to save it as a shortcode in DB, but when the user come to edit the block it should show the content in textarea and selected item in dropdown.
With shortcode, i want to create form to change the car’s name of user
I have 2 shortcodes, [ref] and [references].
I need to get the content inside the [ref] shortcode and output it when the [references] shortcode is called.
i am using a plugin (download monitor) to display downloads via shortcodes. also using an addon for download monitor – gravity forms lock. for that, the shortcode, which i must include in the same post is like this: [dlm_gf_form download_id="download-form-id"] where download-form-id would represent the post meta name.
i am using a plugin (download monitor) to display downloads via shortcodes. the shortcode has a single parameter, which is the download’s ID: [download id="123"]
Circumstances: I have a CPT called “designs” and a taxonomy related to it, called “project_category” so that I can assign a category to each design. I’m building the template for each ‘design’ and I need a shortcode that returns the assigned project category SLUG of the current design within the loop.