Tagged: x
-
AuthorPosts
-
February 20, 2017 at 11:42 am #1378481
Olivia SParticipantHello – looking to customize a layout in Essential Grid and want to call up the featured image in my layout. I can’t figure out what the meta handle is to call up the featured image used in a post. I’ve tried a few things, so I am basically seeking what to use where I have x_featured_image in the following snippet:
<div style="background-image: url(%x_featured_image%)"></div> <div> <div class="cj-content"> <h4><a href="%eg_aff_url%">%title%</a></h4> <p>%excerpt%</p> </div> </div> <div class="cj-clear"></div>Thanks!
February 20, 2017 at 11:59 am #1378503
ThaiModeratorHi There,
This article should help: https://www.themepunch.com/faq/use-image-from-custom-field-as-grid-items-main-media/.
Regards!
February 20, 2017 at 1:57 pm #1378647
Olivia SParticipantThank you for the reply… I saw this, but couldn’t bring it full circle. I was attempting to make a custom layout with an image on the left and excerpt on the right with Essential Grid WITHOUT having to move (programmatically or manually) my featured image to a custom field. If I knew the name of the meta handle that X theme uses, then I could create an alias and I would assume I could easily call that. But maybe I got that wrong. Right now, I have found a tolerable layout that will preserve how the content is added as is. I have a couple of questions, but will start a new thread.
As always, thank you.
February 20, 2017 at 4:20 pm #1378840
JadeModeratorYou’re most welcome, Olivia.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1378481 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
