checkpoint71
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Update in cron does not work in 5.6 without errorAnyone any idea?
Found it as “Title”
Forum: Developing with WordPress
In reply to: Changing Permalink Structure, will it hurt SEO?– You can do it live – the change will be done in seconds
– Redirects are needed if you dont want to loose the state of the old links. If you change the permalink without redirect google will notice it as new sites and the old links as lost sites.
– If you haven´t done yet – give google the sitemap at search console. There you can see the progress – it will take time. Notice that there are two different states: Google have noticed the chance (read the sitemap) and Google do indexes of the sites (this can take days or weeks till it is complete).Forum: Fixing WordPress
In reply to: gutenberg widthit still does not work – .wp-block – if i use this there is no difference at editor, it is still small in the middle with big margis left and right.
Forum: Developing with WordPress
In reply to: wp_insert_post with custom post type page and initOK – but shortcode content is only seen at htmlpage then, but not for the user edit the page, right? So i have to look for block developement. Is there any example for block developement with data connection?
Forum: Developing with WordPress
In reply to: wp_insert_post with custom post type page and initThe content is imported via XML and written to WordPress-Database; So connection to content is no problem. I know how to do this via page-template, but how to do with a single block?
The first problem is at wp_insert_post i give him blocks with post_content; If i understand you i give here HTML as content. But on the blocks i filled with data from database i should notice there something like block-ID, so i am able to update only this block later…
The second problem would be later to update only this block of the complete content if data is chanced…
maybe the solution can be with reusable blocks? Bad would be there that i would need one block for every data in the database, but can reusable blocks be genereated and updated per Code?
Or do you have any idea for a good solution?
Forum: Developing with WordPress
In reply to: wp_insert_post with custom post type page and initone more question: if i feed blocks in this way and give the blocks content from a database, how can i do an update, when the data chanced?
With wp_update_post i only can change complete content, right?
For Example: I do a <p> block with text filled from database; then i addes manually one more block; is it possible only update the <p> block if data changed? Or is the manually block gone then?
Forum: Developing with WordPress
In reply to: wp_insert_post with custom post type page and initi mean the capability_type ‘page’ not the name of CPT;
i tryed it with simple <p> at post_content and it runs…so i will try the rest tomorrow, thanks.