Digital experiences for all disciplines
Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
Posted in: We hit Power Elite.
-
Hi Laranz,
Sorry to bother you again but pictures are not showing here: http://www.sophiemonapages.com/?page_id=2762&paged=5
Best regards,
Sophie
Hi Laranz,
Thank you so much 🙂
Best regards,
Sophie
This reply has been marked as private.Hi Laranz,
Thank you for your reply.
There is no sidebars given in Theme Options.
Sophie
Hi Laranz,
Thank you.
I have added the following to the function.php file to set up the featured image for all posts (I have more than 800).
function auto_featured_image() { global $post; if (!has_post_thumbnail($post->ID)) { $attached_image = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1" ); if ($attached_image) { foreach ($attached_image as $attachment_id => $attachment) { set_post_thumbnail($post->ID, $attachment_id); } } } } // Use it temporary to generate all featured images add_action('the_post', 'auto_featured_image'); // Used for new posts add_action('save_post', 'auto_featured_image'); add_action('draft_to_publish', 'auto_featured_image'); add_action('new_to_publish', 'auto_featured_image'); add_action('pending_to_publish', 'auto_featured_image'); add_action('future_to_publish', 'auto_featured_image');
As for the sidebar, I actually chose “no sidebar”. I tried with “left sidebar” and it doesn’t change anything neither.
Thank you for your help.
Sophie
-
Posted in: We hit Power Elite.
Viewing 5 posts - 1 through 5 (of 5 total)