I have figured it out! The following keeps the Other Graphical Elements -> Post and Page Bylines options the same:
- Code: Select all
add_filter( 'suffusion_admin_modify_option_list', 'custom_byline' );
function custom_byline($option_list) {
return $option_list;
}
Now, my problem is the following:
suffusion_admin_modify_option_list only allows you to modify the Other Graphical Elements -> Post and Page Bylines options (awesome!) but does not allow you to modify Custom Types -> Layout byline display options (bummer), which is what I thought it was supposed to do. While we're at it, there are fewer Custom Types -> Layout byline display options than there are Other Graphical Elements -> Post and Page Bylines options. Case in point: Custom Types -> Layout is missing Pullouts on the outside post for both left and right sides:
Other Graphical Elements -> Post and Page Bylines options:
Theme Default
Pullout on the left
Pullout on the right
Pullout on the left outside post
Pullout on the right outside post
Single line above post
Single line below post
custom options added through suffusion_admin_modify_option_list
Custom Types -> Layout byline display options
No Bylines
Single line above post
Single line below post
Pullout on the left
Pullout on the right
cannot add custom options through suffusion_admin_modify_option_list
Another thing to add is the option under Byline Content to remove the post title just as you can with the date, posterd by, comments, and permalinks.
So while I have to hope the ability to apply my custom options to custom post types will be added in the future, how do I add a byline display option to the $option_list variable in my code above? Surely we don't need Sayontan to explain this... right?
BTW, thank you Sayontan for the byline configuration options! They work perfectly!