Maurice
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Introducing the pluginHey mizfa,
you can try Purple Heart Rating. If you sign up for the newsletter, you get the pro version for free at the moment.
Forum: Fixing WordPress
In reply to: two languages website or fresh installationHey eshtefan,
There are lot of questions and things we don’t know about your site to consider.
If google is important for you I’d like to recommend you to read this:
https://searchengineland.com/the-ultimate-guide-to-multilingual-and-multiregional-seo-157838Forum: Fixing WordPress
In reply to: Export all posts as rendered HTML into a database table?Hello briandunning,
if you got another wordpress installation for testing purposes you could try this
<?php function posts_to_table (){ $ptt_query = new WP_Query( array( 'post_type' => 'any' ) ); // retrieves any type except revisions and types with 'exclude_from_search' set to TRUE if ( $ptt_query->have_posts() ) { while ( $ptt_query->have_posts() ) { global $wpdb; $wpdb->insert( 'htmlposts', //name of your new wordpress table array( 'post_id' => get_the_ID(), 'post_name' => get_the_title(), 'post_content' => get_the_content() ), array( '%d', '%s', '%s' ) ); } wp_reset_postdata(); } } ?>
Edit:
I don’t know if it works but what you need is WP_Query and $wpdb->insert- This reply was modified 6 years, 4 months ago by Maurice.
Forum: Fixing WordPress
In reply to: Wanting to change the default ‘Archive’ name in page titleHello barbadada,
since you are using the Yoast SEO plugin it should be quite simple.
– Go in the Admin Area to Posts -> Categories -> Edit ‘Sports’
– Scroll down to the white window from Yoast SEO.
– Click on ‘Edit Snippet’ and change it to your favor.You should also add a short description if you are already on it.
Hello paolostu,
did you paste the snippet in the text editor now?
This should work when using the editor in text mode.