post_id as a variable?
-
Is it possible to put some kind of variable in as the post_id so that it refers to whatever post the shortcode is in? I need to be able to drop a single code across many posts and have it always refer to the post where it is. Perhaps change the behavior of the default tribulant_slideshow shortcode to show attached images if there is no gallery associated with the post? Right now it just says “No slides are available” unless I hardcode the post_id
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘post_id as a variable?’ is closed to new replies.