Forum Replies Created
-
AuthorPosts
-
Louis
ParticipantI have one last request on this thread: the meta tags and date float depending on the length of the Post title. What is the flex approach to aligning to the bottom of the card?
Louis
ParticipantNext step:
I see that the Category shows on the right side of the WPSP card. I’d like the Category hidden, and the Tag to display, and without a link. Do you perhaps have a suitable code snippet at hand?Warm regards
Louis
ParticipantI found the offending code! It was this code snippet (to remove links from tags) that I added yesterday:
add_filter( 'wpsp_terms_output', function( $output, $settings ) { return sprintf( '<span class="wp-show-posts-terms wp-show-posts-meta">%1$s</span>', strip_tags( get_the_term_list( get_the_ID(), $settings[ 'taxonomy' ], '', apply_filters( 'wpsp_term_separator', ', ' ) ) ) ); } ,15 ,2);
Louis
ParticipantThis is great, I’m making progress, thank you!
You wrote: “Go to specific WPSP Meta Tab setting and make sure both of them is set to the same location/position. Either “below post” or “below title”.” Tags are currently not included as an option in WPSP Meta, so the only one I can set is Date. No change to layout… any ideas?
Also, if I enable “Include Terms” then my website gets a critical error:
https://www.sahpa.co.za/wp-content/uploads/2021/06/Screenshot-2021-06-28-at-02.49.42.png(If you want to troubleshoot this particular bug, you have admin access – I’m going to bed now (it’s 3am), you’re welcome to test as no-one will be using the site for the next few hours.)
Louis
ParticipantJust one more thing: I’d also like no margin between image and the card edge.
Louis
ParticipantHi Tom,
Please could I add a feature request to add this as a setting in WPShowPosts? I have 24 lists to change, and this means 24 code snippets… a tick would be easier.
Warm regards
Louis Stanford -
AuthorPosts