New answers tagged

0

Do you talk about WordPress.com or independent installation of WordPress.org on your server? These are two different things and your question confused because you mentioned that you have your own hosting also. For WordPress.com, contact their support. They should help you with this if you configured your domain there. If you installed WordPress.org ...


0

for product page, you can put in functions.php function remove_storefront_sidebar() { if ( is_product() ) { remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 ); } } add_action( 'get_header', 'remove_storefront_sidebar' ); It works with latest woocommerce 2.5.2 Also CSS is needed: .single-product.right-sidebar .content-area { ...


2

Create a new theme folder next to your current theme and name it, ThemeName Child Theme In the new child theme folder create a file names style.css In the header of that file add this, /* Theme Name: My Child Theme Theme URI: http://www.example.com/myTheme Description: your Child Theme Author: your name Author URI: ...


0

Here you go.. function xobamax_resources() { wp_enqueue_style('bootstrap', get_template_directory_uri() . 'css/bootstrap.min.css'); wp_enqueue_style('style', get_stylesheet_uri()); wp_enqueue_script( 'bootstrap-js', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js', array('jquery'), '3.3.4', true ); } ...


0

inside your php.ini file, you need to find two lines: max_execution_time = 30 max_input_time = 60 Try increasing these values. First try with the max_execution_time. Hope it helps!


0

This might be a problem with slow connection which causes PHP to time out, you can try again later. The alternative is to download the theme zip file to your computer and upload it from there into the site.


1

Your question is totally misdirected and should be directed at core developers on wordpress.org. You are also totally missing the whole point of the core bundled themes. The main purpose of bundled themes are to showcase new developments in core and what the core developers find interesting. They are not there to please the masses with pedantic link colours ...


0

As stated in my comment, your question in off-topic, however as for my opinion (and I do emphasize that it is just that, I haven't conducted any research into the matter)... I find washed-out visited links distasteful - a pragmatic necessity that's lost it's merit in the two decades since the research you cite. I have no need for a website to tell me where ...


0

Hmmm, your rant is 99% off-topic, but to give some context, the default themes are meant to be technological show case, and not "the best" (for any definition of "best") for any specific use case. There are actually very few* people involved with wordpress development so it is very understandable if no aspect of wordpress out of the box will get a 5 stars. ...


0

Create child theme of the main theme you're using. That way you can override just the parts you want. Reference - https://codex.wordpress.org/Child_Themes Hope it helps!


0

Divi will not be able to support all of the features as you've stated out of the box. With integration of things such as WooCommerce which Divi prefers you use, you'll be able to incorporate features like the quote but probably not on the product comparisons. That being said, DIVI is a very powerful theme, but keep in mind that many themes will need ...


0

You may need to have this line in your code require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); The plugin.php file is not automatically included.


2

@setterGetter is right, you need to wrap it with do_shortcode() but you need to do it where the customizer field is called not inside the field within the customizer. In your case try looking in footer.php then if you're able to find where they output the code wrap it with echo do_shortcode() But that doesn't mean your shortcode will display properly, you ...


0

This are not url's. They are paths. So disqus-comment-system is the folder of the plugin and disqus.php the "init" php file. Every plugin has more or less the same structure. Install your desired plugin and check it's file structure inside plugin folder of WP. More: https://codex.wordpress.org/Function_Reference/is_plugin_active


1

Have you tried looking in the Customiser? Located here Appearance > Customise > Logo > Select Image (Select your Companies Logo) Best of luck :)


0

Check the original answer Here. <div class="container" style="margin-top:20px; min-height:500px;" > <div class="row"> <?php $labels = new WP_Query(array( 'post_type' => 'slider', 'posts_per_page' => 1000 )); while ( $labels->have_posts() ) : $labels->the_post(); ?> <?php $src = wp_get_attachment_image_src( ...


0

You can use get_stylesheet_directory() to refer to your child theme, then you can point to your file. require_once( get_stylesheet_directory() . '/includes/theme-styles.php' ); It will load your file and replace the parent theme file.


0

Ok, so I managed to sort this out in the end by renaming the front-page.php file so that it's not picked up. If I have missed anything or anyone can suggest something I should have done, please let me know.


1

I'm not entirely certain I understand what you mean but whenever a Page Template is set WordPress also sets postmeta with a specific key and value. The key is called _wp_page_template and the value holds the template location relative to the theme. So you could do this: $pages_with_templates = new WP_Query( array( 'post_type' => 'page', ...


1

I know that this is an old question... but! there is a nice view count which means that people still need this. Maybe it would also help you close this question ;) Here is an ajax version The page itself the JS code The PHP Ajax receiver and publishing code. Inside your Page Template - this is an example - customize to your theme structure <div ...


2

It really just depends on what you need to do here. The general method is to hook all your theme support features to after_setup_theme for some obvious reasons. after_setup_theme is the first action hook available to themes to add any type of support the theme. Certain features has to be registered here and cannot be registered later. One feature that ...


1

I you think you need it. For example, you are using the title in a URL and you are getting the title dinamically; so you never know exactly if the title is valid to be used in URL or not. So, it is better to use it. Just one example: it is very common that titles contain white spaces and white spaces need to be enconded to be used in URLs. I would build ...


1

You could always set WP_USE_THEMES to false, and handle all the template/display logic on your own. (But, that requires access to the users wp-config or index to set the constant, which is out of scope for a plugin, though you could make it an installation requirement). Taking a look at template-loader.php you could have an starting point to see the kind of ...



Top 50 recent answers are included