WP – Twenty Fifteen template
WP – Twenty Fifteen template
WP – Twenty Fifteen template
This should do it for you. @media screen and (min-width: 59.6875em){ .site-title { display: none; } } I’m new here so I’m not sure why the downvotes.
Extra sidebar in Twenty fifteen
Solved it thanks to [at]OnethingSimple and @milo. It was the W3 Total Cache plugin. I removed it from my server and everything works fine. Here’s the path I had to take. Step 1 – went into my network admin on the site having the problem to confirm that W3TC was not activate or network active … Read more
You can hook the content of any post and request data you want through WordPress HTTP API. Like this: add_filter(‘the_content’, ‘my_content_178750’, 1, 99); function my_content_178750($content) { return wp_remote_retrieve_body(wp_remote_get(‘http://example.com’)); } Also there is possibility to check path you’re on and decide what you want to get depending on that.
Figured it out! Use the following PHP code. /* * Toggles the menu dropdowns to open state */ function mod_toggle_menus() { ?> <script type=”text/javascript”> jQuery(document).ready( function() { /* add toggled-on class to submenus */ jQuery(‘.sub-menu’).addClass(‘toggled-on’); }); </script> <?php } add_action(‘wp_footer’ , ‘mod_toggle_menus’);
I just had the same – or actually rather a similar problem. I wanted posts with and without FI to have the same top padding. I hope your problem has the same cause so that the following css could also work for your: In Twenty Fifteen Parent style.css line 4448 the following is defined: .hentry { … Read more
this worked for me ‘has_archive’=> true, replace it with ‘has_archive’=> ‘jobs’, then flushed the permalinks
The file you are looking for is content.php. You can find more informations about Template hierarchy here: https://developer.wordpress.org/themes/basics/template-hierarchy/ The sections you have to get rid of are the divs: <div class=”entry-content”> … … </div> <div class=”entry-footer”> … … </div> So you have many ways to achieve it, the simpler is to clone the file in … Read more
As you’ve done, you removed the sidebar with CSS, however to display on a toggle you’ll have to use jQuery. You could do something with toggleClass(); on a click function. In your css you simply add the class that will toggle and then display the sidebar again. Stretching the site automatically will rely on CSS … Read more