Forum Replies Created
-
AuthorPosts
-
sparkle
Participantps. right now, it’s got multiple shortcodes on the page because i’m trying to come up with an alternate plan. but even only the one, the pagination still isn’t working.
sparkle
Participanti’m using generatepress pro. π whether i have ajax or standard set in wp show posts, it does the same thing. is that what you mean?
sparkle
Participanti’ve tried turning off all plugins but wp show posts and wp show posts pro (beta) and still this is happening.
sparkle
Participanti’m having this same issue here: https://suznornew.dreamhosters.com/blog/
sparkle
Participanthi tom, is there a step by step somewhere for getting custom field content to display in a list (or ultimately in a carousel)? i have three custom fields in my cpt (cptui/acfpro) and i put this into my functions file, but am unsure how to ‘just hook them’ to get them into my list and ultimately to display as the carousel. [edited for clarity and to add when i put the below code in my functions file, i get a database error, too.]
add_action( 'wpsp_before_content','wpsp_add_custom_meta' ); function wpsp_add_custom_meta() { $meta = get_post_meta( get_the_ID(), 'st-headline', true ); if ( isset( $meta ) && '' !== $meta ) echo $meta; } add_action( 'wpsp_before_content','wpsp_add_custom_meta' ); function wpsp_add_custom_meta() { $meta = get_post_meta( get_the_ID(), 'short_testimonial', true ); if ( isset( $meta ) && '' !== $meta ) echo $meta; } add_action( 'wpsp_before_content','wpsp_add_custom_meta' ); function wpsp_add_custom_meta() { $meta = get_post_meta( get_the_ID(), 'st-attribution', true ); if ( isset( $meta ) && '' !== $meta ) echo $meta; }
sparkle
Participantthank you. you can tell i was trying to figure it out.
this works. you’re awesome.
π
sparkle
Participanthttps://amoore.dreamhosters.com/product/fellow-antics/
itβs the links on the bottom right.
thanks tom.
sparkle
Participantthank you both. jumping in!
sparkle
Participantah! this is literally the best thing ever. you guys rock. thanks tom & crew.
sparkle
ParticipantTHANK YOU! those look super helpful. sorry to be dense… how do i access those in my wp-admin?
sparkle
Participantoh… also wondering if it’s possible to do these things with custom post types?
-
AuthorPosts