Apply custom names for generic custom taxonomy name?

Yes, that’s certainly possible, but you wouldn’t override anything- instead you’d fetch and add the custom names when they’re registered. For a quick example, say you have an option that stores the names: $taxonomies = array( ‘ingredient_1’ => ‘Toppings’, ‘ingredient_2’ => ‘Sauce’ ); add_option( ‘my_tax_names’, $taxonomies ); Then when you register the taxonomies: $taxonomies = … Read more

How to using custom DB tables

I’m adding this as an answer, even though it doesn’t strictly answer the question you’ve asked, but it is a means to achieve what you’re after. As I mentioned in my comment, you can use a custom post type and post meta data to store this data, you don’t necessarily have to use the WordPress … Read more

Trying to display ads on only a third of posts in a loop. Keep getting Error 500?

echo “<img src=\”” . bloginfo(‘template_url’); . “/img/sample-ad-side.png\” alt=\”Sample Advertisement\”>”; You added a semicolon, what comes after that semicolon is a new statement. . “img/ etc is not valid PHP, so it errors out. Also bloginfo does not return its value, it prints it, so you need to change that to get_bloginfo. I would suggest you … Read more

add_theme_page is not working

You created the callback function and the function for adding the Theme page, but you also have to tell WordPress when to call your function my_plugin_menu. You can do this by hooking into admin_menu. add_action(‘admin_menu’, ‘my_plugin_menu’); This way WordPress knows that when it reaches the Scripts for admin_menu, it also has to execute your code, … Read more