Could you let me know exactly what you’ve changed in your theme, so I can take a closer look?
Thanks!
I actually had to restore my functions.php file because the changes I made deleted some other aspects of my publishing that I needed.
Can you let me know exactly what lines I am supposed to edit? I need the PUblicize functionality but also all of the other aspects of my posts.
That depends on how and where the Custom Post Types are created for your site? Do you see a register_post_type
function in your theme’s functions.php? If so, could you copy it and what it contains, and paste it here?
Thanks!
Yup!
register_post_type(
'recipe',
array(
'labels' => array(
'name' => __( 'Recipes', 'progression' ),
'singular_name' => __( 'Recipe', 'progression' )
),
'public' => true,
'has_archive' => true,
'rewrite' => array('slug' => 'recipes'),
'supports' => array('title', 'excerpt', 'editor', 'thumbnail','comments', 'author'),
'can_export' => true,
)
Excellent. Now go ahead and change the line that says;
'supports' => array('title', 'excerpt', 'editor', 'thumbnail','comments', 'author'),
Instead, it should now be:
'supports' => array('title', 'excerpt', 'editor', 'thumbnail','comments', 'author', 'publicize'),
That should do the trick.
Yay! That worked. Thank you SO much.