theotherstevesmith
Forum Replies Created
-
Ah! I figured it out. I set up the alias in Google Workspace (via admin.google.com), but I also needed to log in to the email account and add the alias (via mail.google.com) under Gmail > Settings > Accounts > Send mail as. Sorry for the extra work, the process just wasn’t very clear to me at first.
Great plugin!
Hi Sanjeev,
I have followed the instructions for setting up the plugin and adding aliases to my account, but the “From Email” dropdown only shows the main email address. Any suggestions?
Thanks in advance!
I actually found a decent article on this at https://www.itnota.com/add-footer-custom-post-type-genesis-2/.
For quick reference:
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); add_action( 'genesis_entry_footer', 'my_entry_footer_markup_open', 5); function my_entry_footer_markup_open() { echo '<footer class="entry-footer">'; } add_filter( 'genesis_post_meta', 'my_post_meta' ); function my_post_meta( $post_meta ) { $post_meta = '[post_categories][post_tags]'; return $post_meta; } remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); add_action('genesis_entry_footer', 'my_entry_footer_markup_close', 15); function my_entry_footer_markup_close() { echo '</footer>'; }
What might not be clear to a “newbie” (and I consider myself one), is that these hooks and filters are first removing the standard footer markup from ALL post types and then adding it back in for ALL post types, including custom post types.
To add in text like “Filed Under: ” or “Tagged With: ” common to many Genesis themes these days, you modify the shortcodes*:
[post_categories before="Filed Under: "][post_tags before="Tagged With: "]
As to why custom post types don’t inherit the standard footer markup by default, I have no idea (perhaps that’s a bug).
*At least, I think those are shortcodes.