<?
//http://wplift.com/how-to-add-custom-styles-to-the-wordpress-visual-post-editor
// TinyMCE visual editor: Add the Style Dropdown Menu to the second row of visual editor buttons

/* NOTE: This technically works (the editor button shows up, and the class can be added to an element in the editor), BUT 
   it does NOT cause the element to be styled according to the CSS rule. Unsure why. Commented out until a solution presents itself.

function my_mce_buttons_2($buttons)
{
	array_unshift($buttons, 'styleselect');
	return $buttons;
}
add_filter('mce_buttons_2', 'my_mce_buttons_2');
function my_mce_before_init($init_array)
	{
		// Now we add classes with title and separate them with ;
		$init_array['theme_advanced_styles'] = "Image: No Effect=no-effect;";
		// the style(s) live in editor-style.css
	return $init_array;
}

add_filter('tiny_mce_before_init', 'my_mce_before_init');
add_editor_style();

*/





/* NOTE: IF PAGINATION LOOKS WEIRD AFTER PARENT IS UPDATED, HERE'S WHY. 

   Parent's functions.php is not conducive to child themes. Need to use same function name, but parent's function
   is not written using "if function_exists()". Therefore, PARENT functions.php MUST BE EDITED. After updating
   parent, open its functions.php and make sure this function:
   
		function html5wp_pagination()
   
   ...includes these lines of code:
   
   		'prev_text'    => __('Previous Page'),
		'next_text'    => __('Next Page')
		
   Kind of defeats the purpose of child theming, I know. Apparently I picked a bad parent.
*/

// Pagination for posts
function my_post_pagination()
{
    echo '<div class="post-nav"><span class="prev">';
	previous_post('%', 'Previous: ', 'yes');
	echo '</span><span class="next">';
	next_post('%', 'Next: ', 'yes');
	echo '</span></div>';
}
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//anitaandrews.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://anitaandrews.com/post-sitemap.xml</loc>
		<lastmod>2024-08-14T10:40:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://anitaandrews.com/page-sitemap.xml</loc>
		<lastmod>2013-02-24T22:22:10+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://anitaandrews.com/category-sitemap.xml</loc>
		<lastmod>2024-08-14T10:40:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://anitaandrews.com/post_tag-sitemap.xml</loc>
		<lastmod>2024-08-14T10:40:15+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://anitaandrews.com/author-sitemap.xml</loc>
		<lastmod>2018-10-17T13:29:28+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->