I’m using the Kadence Child theme.
This is what’s in the PHP tags.
/**
I’m encountering a problem similar to the one on this forum: https://github.com/WordPress/gutenberg/issues/7468
When I add a new post from a custom post type, or a new page, it pre fills/ shows the editor of a different post in a different post type.
When I add a new page, this is what my editor looks like: https://gyazo.com/5ce8ecf0866031f4053c62c5d4dc8c0c
The gutenberg editor shows the elementor content of a post. It’s as if i’m editing that post.
Has anyone encountered this issue before? And how do i fix it?
Greetings,
Joortje
]]>function create_newpage_for_newpost( $post_id, $post, $update ) {
// Only want to set if this is a new post!
if ( $update ){
return;
}
// Only set for post_type = post!
if ( 'post' !== $post->post_type ) {
return;
}
// Create new page based on this new post - New page should :
// 1. Use a pre-built elementor page-template
// 2. Use the post name (from post_id) in naming the new page.
// 3. pre populate some ACF fields with data from the post (advanced, so i'll find a method to do this myself)
$newpage_title = get_the_title( $post_id ) . ' - history log';
$link_back_to_post = get_permalink( $post_id );
}
add_action( 'save_post', 'create_newpage_for_newpost', 10,3 );
Its important that we only create one page per new post so we need to ignore ‘save to draft’ and other post statuses. The new page also should be based on a pre-saved Elementor page template (see comments in code above).
Thanks
]]>This plugin is really cool ! Thank you !
I’m using WordPress 5.4 + DIVI Theme last version (4/7/2020)
Just updated your Menu Image with version 2.9.6 today
Everything is working well except the fact that i’m not able to create a page.
It brings me to a blank page.
Once i deactivate Menu Image, so i’m able to create a page.
This is the bug I report
Thx
Fabio
]]>for a Research Project in the area of consumer behaviour I am considering using WordPress as a generic webshop. Now I am wondering if there is a plug-in (or other possible solution) to following Problem: I would like to automatically generate pages based on Information from online webshops (for instance Zalando, Ikea, Rewe) to quickly generate many product pages. Ideally the plug-in would be able to grab the data from the Internet and subsequently create a number of product pages that could be tested within the webshop.
Sadly I am not trained enough in WordPress to solve this issue with some guidance on how to proceed, and wether to invest time into learning These functionalities.
Is this somehow possible to solve? Or any other ideas or possible Solutions are very much welcome.
Thank you very much for your help.
]]>I’d appreciate some assistance as I STILL have to work out how to connect the dots and get a functioning login & secure members area.
]]>Is there something I can run to get WordPress to index and organize itself?
Thank you,
Richard
I would like to know how to add a new set of options to the page creator screen. I know about the settings API but that creates a whole new page for that set of settings. Is there a way I can do what i want?
Thanks!
]]>