Forum Replies Created
-
AuthorPosts
-
Steve
ParticipantIm using this shortcode to display a single image: [rwmb_meta id="field_id" object_id="15"]
how would I add a class to this image via the shortcode?
Steve
ParticipantThanks Long but this does not explain how we pull the postID from each object automatically, can you please advise how we can add the postID to a Metabox custom field automatically?
Steve
ParticipantHi Long, this is not possible the grid will be showing hundreds of different portfolio items, my client needs to be able to add new portfolio items and they display through the grid design, we cannot add a new shortcode every time they wish to add a new site,, this is not realistic, even if we have to add a new metafielcd called post ID, is it not possible to automatically refill this field with the post id/objectID?
A second option is using the grid builder custom fields which is currently working and this is displaying the correct records and fields for each item, the text fields all display fine but when I add the custom key for the image field rather than it showing the image it just shows numbers instead? how can we fix this? on the below link you will see the data is displaying correctly in the first white box but if you look for the numbers on this page (9596) this should be the image displaying: shorturl.at/cjIW3
Steve
ParticipantHi Long please do not close the ticket as it is not complete and not solved.
As I mentioned it is not possible to write the fixed post ID in the grid builder because the grid serves multiple posts within the same grid design, lets say 10 posts are shown through the same grid so for this to work the objectID must be passed through in the same way like the field ID is in the shortcode, do you see what I mean?Steve
ParticipantHi Long, I hope you’re well. are you able to get back to me on the last message?
Steve
ParticipantHi Long, how can I pass the post ID to the shortcode dynamically so the grid can associate the correct post ID in each shortcode/post?
Steve
ParticipantThank you! where did you add this function code as I will be happy to just remove the prefix to make it easier.
Steve
ParticipantThanks Long I just sent the login details via the contact form, please confirm receipt of this information.
Steve
ParticipantAlso just to mention the field type I added is "single image" im not sure if this makes a difference to my shortcode?
Steve
ParticipantHi Long, Thanks for getting back to me. I cannot send you the plugin as this is art of a theme bundle, i can send you the login credentials though so you can try yourself, I tried adding the shortcode directly to the page but nothing is displaying. Is it possible to send a private reply on here with the login details?
-
AuthorPosts