Forum Replies Created
-
AuthorPosts
-
January 22, 2024 at 10:07 PM in reply to: custom field WYSIWYG content not displaying with formatting #44366
jimimac
Participantyeah you need to wrap it in wpautop()
jimimac
ParticipantAh it’s not working for me. Is there a way to check the relationship ID and from side anywhere?
July 12, 2022 at 10:28 PM in reply to: using php to display a list of custom posts and custom fields #36949jimimac
ParticipantMaybe i didnt explain too well. First I want to show a list of a particular post type not one particular post. So i want to show a list of posts of the type "course"
August 25, 2021 at 3:34 PM in reply to: custom field WYSIWYG content not displaying with formatting #30424jimimac
ParticipantAlso the strange thing is that it WAS working fine originally and then all of a sudden the <p> tags disappeared.
August 25, 2021 at 3:32 PM in reply to: custom field WYSIWYG content not displaying with formatting #30423jimimac
ParticipantOk but I've now tried that and it's still not working.
It seems to be a problem with how the WYSIWYG field. Is there someone who could have a look?
Because that thread above doesnt seem to have a solution which is worrying.
August 24, 2021 at 5:27 PM in reply to: custom field WYSIWYG content not displaying with formatting #30402jimimac
ParticipantI should add that the field is inside a group field
August 24, 2021 at 5:27 PM in reply to: custom field WYSIWYG content not displaying with formatting #30401jimimac
ParticipantI created the custom fields in wordpress using the plugin rathr than custom code.
here's the code Im using to display the field...
$section = rwmb_meta( 'section' ); $section_key = 0; $text = $section[$section_key]['content_blurb']; echo $text;As I said the other things display fine but the p tags dont seem to be being created when the field is being edited.
August 23, 2021 at 11:59 PM in reply to: custom field WYSIWYG content not displaying with formatting #30390jimimac
Participantupdate - it seems to be only the p tags that arent being included. Other tags like the <h3> tag is fine.
August 16, 2021 at 9:32 PM in reply to: Trying to use php to add advanced img from group field #30288jimimac
ParticipantIm getting a 500 error now.
Where do i find the "image_key'?
July 28, 2021 at 10:45 PM in reply to: ✅Getting 404 error when trying to view post created with custom post type #29749jimimac
ParticipantI changed the permalink structure then changed it back and it works
jimimac
ParticipantThis seems to be a bug because it appeared after I selected and unselected thumbnail in the settings for that post type.
jimimac
Participantwould i just replace the 'field_id' part with the actual field id when editing the view or would i need to set an option name too?
jimimac
Participanthere's my view code...
<div style="width: 100%; display: flex; flex-direction: row;"> <div class="lesson-prices"> <p> 30 mins </p> <p> 60 mins </p> </div> <div class="lesson-prices"> <p> {% set field = attribute( site.tuition, '30mins' ) %} {{ field }} </p> <p> {% set field = attribute( site.tuition, '60mins' ) %} {{ field }} </p> </div> </div> -
AuthorPosts