-
Anonymous
Hey there,
I’ve installed and set up WP RSS Aggregator. I have the Feed to Post add on. It is successfully creating posts no problem. I can display the posts in any block editor post block. I created a custom post type with Toolset and the associated single.php and archive.php templates.When I view a single post live, or the archive pages, The body of the content doesn’t show up. The title and featured image show up, and the additional source links at the top and the bottom but the paragraphs of actual body content, the article guts themselves, don’t show up. If I switch my theme to 2022, it all shows up fine. It’s only if I’ve got GP active that this happens. I’ve sent them a support request as well. Can you help me troubleshoot why GP would be preventing the body content to show up?
Also if it matters, I created the custom post type and single.php and archive.php using Toolset. Does it maybe store them somewhere GP doesn’t know where to look? It shows the title and links and image but just not the body content.
Thanks in advance.
—
Update: I tried it another way with the same results although now the link back to source elements aren’t there. So it has less of the content now. I followed this video:
Which had me:
Install CPTUI
ACF
I created a new custom post type
I created the fields
I set the feed source in WP RSS Aggregator to go to this new custom post type
I created a template using Generate Press Elements per the video above
I assigned the location to that custom post type
I deleted and re-fetched the feed items to be sure they would go to the new custom post type
Again, the posts are created no problem. The featured title is there via GP Headline block set to dynamic > current post > Title. Works fine.
The GP image block is set to dynamic > featured image. Works fine.
The content block is where nothing happens. I’ve tried it two ways:
1. Created a field called custom feed item and set it to wsywig in the field settings. Back to the GP element > added a headline block > set it to paragraph > post meta for the source > used the field name. I guess I see why that doesn’t work, Aggregator doesn’t know that field name.
2. Tried to add a block using post content > set it to current post. Again I get the message “can not render block inside itself”.
What am I doing wrong/how to get the feed content to show up in the GP element? It shows up fine if I use a different theme. I’m sure I’m just not telling it to show up correctly but why just that block? What is the right way to get it to show the post content?
Thanks again in advance. -
Anonymous
See private reply regarding update please.
-
Fernando
Hi Laura,
I tried logging in, but the credentials you shared aren’t working.
Can you check if they are correct?
-
Anonymous
Weird, you’re right. I just reset the password. See private box please.
-
Fernando
Try going to Settings > Reading and set “For each post in a feed, include” to Full text.
-
Anonymous
Ok doing now. Were you able to log in?
-
Anonymous
No dice, no change. See link in private.
-
Fernando
You need to add a Post Content Block to your Block Element to show the Content. Can you add one first?
-
Anonymous
Do you mean add a post content block as a block on the template page? Or within the element itself? How do I do that?
When I enter it on the page, as a block, it says “can’t render the block inside itself” and displays partially duplicate content. -
Fernando
Add it to the “Airspace News Item Single Post Template” Block Element – Content Template for instance.
-
Anonymous
I created a block element “content template”. I did add a post content block but it just keeps saying “Block cannot be rendered inside itself.” and creates a bunch of duplicate content.
-
Anonymous
See private
-
Anonymous
I did. I get the can’t render block inside itself message and duplicate content.
-
Fernando
Are you still editing the Content Template? I’ll try to see what you have now if you’re done editing.
-
Anonymous
Thanks for that, I appreciate it. I’m out of it.
-
Fernando
That’s odd. Try replacing it with a Dynamic Content Block. Retrieve the Post Content from that.
- You must be logged in to reply to this topic.