How can I globally italicize certain text?

Add this into your functions.php file. This is untested, but should work 🙂 add_filter( ‘the_content’, ‘italicize_latin_names’ ); function italicize_latin_names( $content ) { // Split up the content into an array of single words $words = explode( ‘ ‘, $content ); // Loop through each of those words foreach( $words as $key => $value ){ // … Read more

Disable Checkbox depending on state of another checkbox

This may be a little overkill for you needs, but I use a bulked up version of this to great effect on my site. This script will – Check what state the first_option_required option shold be in on page load (and set) Change the state of the first_option_required button upon changes to the first_option_show option. … Read more

Sharing functions between plugins

If you want the theme to be independent from the CPT’s, place the CPT’s as plugin(s). If the CPTs go with the theme, functions.php sounds like the perfect spot for them. If you add them as plugins, you should group them in one or more plugins depending on functionality, not on post type.

Displaying data from another database

And there is your issue — WordPress does need to understand URL. Otherwise it is indeed 404 because it doesn’t correspond to anything WP “knows”. You need to create that understanding, for example by using Rewrite API. Also since your data is external and isn’t really a part of WP context, you will probably need … Read more

Every time I save my plugin options it erases another plugin options

The add_options_page() adds an option page under Settings menu. It does not add an option. You’re registering your settings/options using other functions. Either add_option(), add_settings_field() or register_setting(). Both your options are saved with the same option name, thus overriding each other. You need to save each of them with different option names.

merge wordpress plugins

Curiously WordPress does recognize multiple plugins in a directory, but results can be highly unstable. It also wouldn’t be possible at all if plugins had overlapping file names inside. I wouldn’t recommend you attempt this by literally putting them together in a folder and going through installer. You don’t quite cover your situation in detail. … Read more