WordPress ignoring specified template for front page. Why?
This is by design – check out wp-includes/template-loader.php to see why. Delete front-page.php and it will fallback to the page template.
This is by design – check out wp-includes/template-loader.php to see why. Delete front-page.php and it will fallback to the page template.
I hear you. I’ve been very disappointed with almost every theme I’ve ever purchased. That includes multiple Theme Forest themes, one from MOJO, Elegant Themes, and more. The only theme foundry I like is…wait for it, this is so poetic…The Theme Foundry. The quality of their themes is underscored (not to be confused with _s) … Read more
If you followed the install instructions with that theme, one of the steps was to add the WP e-Commerce plugin and activate it. wpsc_cart_item_count is a function of that plugin, so it is likely not currently activated.
Yes, your options should be preserved unless your themes are really bad and doing it wrong.
bloginfo() is using echo, you need a function that returns its value: get_bloginfo(). In this case you could also use just the function get_bloginfo() is using: get_template_directory_uri().
It fails because there is already a theme with that name on the server. So the obvious solution is to remove the theme before you upload the new version. If you’re wanting to use an update mechanism like the theme repo, but on a custom theme, there are udpater classes you can add, such as … Read more
You should not edit the WordPress core files! If you have comment_id_fields() in your comments template, like this: <p class=”form-submit”> <input name=”submit” type=”submit” id=”<?php echo esc_attr( $args[‘id_submit’] ); ?>” value=”<?php echo esc_attr( $args[‘label_submit’] ); ?>” /> <?php comment_id_fields( $post_id ); ?> </p> you might use: add_filter(“comment_id_fields”,”my_submit_comment_message”); function my_submit_comment_message($result){ return $result.” <span>(your message will only be … Read more
The Navigation Menus system is adding a lot of classes, including matching current page (rather intelligently, it will even try to detect custom URLs, that were input explicitly). The simplest class to make use of is current-menu-item, but there are quite a few more dealing with parents/ancestors and more. Codex has them documented at wp_nav_menu() … Read more
If it’s normal child theme then creating so called “grand child” theme for it is not natively supported by WordPress. You should look into customization options offered by framework, since that is typical for the case. Please note that since Genesis code is behind paywall and not publicly available it’s not considered in scope here.
It seems there is no easy way to do this as load_plugin_textdomain() won’t work as expected when called from a child theme. A generic workaround was developed by Marius Vetrici but I’ve found it to be incompatible with Polylang under some circumstances. The most reliable solution I have found is explicitly loading the translation using … Read more