Forum Replies Created
-
AuthorPosts
-
Ema
ParticipantHello Fernando, I’m still a little stuck
My ACF field is ‘start_date’ and my list id is ‘4943’.
Would the code look like this below? Also – do I still add via shortcode, and add this function via my child theme?
add_action( 'wpsp_before_content', function( $settings ) { if ( 4943 === $settings['list_id'] ) { $meta = get_post_meta( get_the_ID(), '_start_date', true ); if ( $meta ) { echo $meta; } } } );
All my CPT event posts have the ACF field of ‘start_date’ – how does this only show the current events.
Many thanks in advance
Ema
ParticipantOh, Where do I find the ‘list id’?
-
This reply was modified 1 year, 9 months ago by
Ema.
Ema
ParticipantThanks for your reply Elvin! I’ll give this a try and get back to you. Looking forward to GP Blocks merge 😀
Ema
ParticipantThanks Elvin! Can I make them more square?
-
This reply was modified 2 years ago by
Ema.
November 26, 2021 at 3:00 am in reply to: Make containers the same size with Overlay 1 layout #35797Ema
ParticipantI’ve done it!
.slick-track
{
display: flex !important;
}.slick-slide
{
height: inherit !important;
}Ema
Participanthello Elvin, thanks so much for helping me with this. do I add to elements – hooks? I added to snippets and it created a critical error?
best Ema 🙂
Ema
ParticipantHi Elvin,
Thank you!
it’s this one
<svg aria-hidden=”true” role=”img” height=”1em” width=”1em” viewBox=”0 0 256 512″ xmlns=”http://www.w3.org/2000/svg”><path fill=”currentColor” d=”M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z”></path></svg>
Ema
-
This reply was modified 1 year, 9 months ago by
-
AuthorPosts