My theme is not showing up on any other computers
What I had done was in the WordPress Admin page, under Settings > General, I had put localhost/blog for the WordPress Address (URL). Changing this to the public URL of my site fixed the problem.
What I had done was in the WordPress Admin page, under Settings > General, I had put localhost/blog for the WordPress Address (URL). Changing this to the public URL of my site fixed the problem.
Italic font is still Open Sans, “a” and “f” are just designed to look like that in the italic version. Open Sans demo
Try to add those styles with the CSS class .single or .single-post. Because it’s a child theme you’ll probably need to use !important
Add an additional check for in_the_loop() to only affect titles being output within the main query’s loop: function add_dates_to_title_wpse106605($title, $id) { if ( is_home() && in_the_loop() ){ // <– added in_the_loop() $time = get_the_time( $d = ‘l, F j, Y’, $post = $id ); return $title . ‘<br><small class=”time”>’ . $time . ‘</small>’; } return … Read more
Something like this? .entry-header .comments-link { visibility: hidden; } you may want to change the height.
You will have to do a lot of modifications on this one. We are going to modify header.php file Firstly move this piece of code from header tag file to below body tag <?php if ( get_header_image() ) : ?> <a href=”https://wordpress.stackexchange.com/questions/152110/<?php echo esc_url( home_url(“https://wordpress.stackexchange.com/” ) ); ?>”><img src=”<?php header_image(); ?>” class=”header-image” width=”<?php echo get_custom_header()->width; … Read more
Delete wp_enqueue_script navigation wont work as the navigation were being registered and stored on the database. So for this you need to deregister navigation using the code below: add_action( ‘wp_print_scripts’, ‘deregister_navscript’, 100 ); function deregister_navscript() { wp_deregister_script( ‘twentytwelve-navigation’ ); } This code unregisters the javascript used to toggle the default responsive menu. Add CSS to … Read more
If you are using yoast SEO plugin then the easiest method is to remove the archive word from “titles & metas-> Taxonomies->category“ find: %%term_title%% Archives %%page%% %%sep%% %%sitename%% replace it with: %%term_title%% %%page%% %%sep%% %%sitename%%
The unregister_sidebar takes the ID, not the name: <?php unregister_sidebar( $id ); ?> You’ll need to do it like this: <?php function remove_some_widgets(){ unregister_sidebar( ‘sidebar-1’ ); unregister_sidebar( ‘sidebar-2’ ); unregister_sidebar( ‘sidebar-3’ ); } add_action( ‘widgets_init’, ‘remove_some_widgets’, 11 ); ?>
well that depends on what you want to do, but if it is easier for you to edit that template it will be better that you can control all the output of it.. fx like this function add_require_scripts_files() { wp_enqueue_style(‘layout’, get_template_directory_uri().’/style.css’, array(), ‘1.0.0’, “all”); } add_action( ‘wp_enqueue_scripts’, ‘add_require_scripts_files’ ); and this what the function expects … Read more