Tag Info

New answers tagged

0

As said, you should enqueue your style sheets like this in your functions.php in your theme: function adds_to_the_head() { // Our own unique function called adds_to_the_head wp_register_style( 'custom-style-css', get_stylesheet_directory_uri() . '/css/styles.css','','', 'screen' ); // Register style.css wp_enqueue_style( 'custom-style-css' ); // Enqueue ...


0

Try like this <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js"></script> But it is a good practice to en queue your script in function.php Function Reference/wp enqueue script


0

Right click on next page and previous page links and inspect element (assuming you are using chrome). You will get to know the classes and then style as you like.


1

Do this to output only links for previous and next pages: <?php previous_posts_link ( 'Previous' ) ?> <?php next_posts_link ( 'Next' ); ?> Then add filters to your functions.php to add a class to each link: function next_posts_link_css ( $content ) { return 'class="next"'; } add_filter( 'next_posts_link_attributes', 'next_posts_link_css' ...


0

Good news, I seem to have fixed the code. I cleaned up the code for #colophon. I changed it from this: #colophon { background:url(http://kjel.ca/wp-content/uploads/2014/12/footer-img.jpeg) repeat-x bottom center; height:80%; width:100%; position:absolute; margin:0; padding:0; bottom:0; min-width:100%; min-height:1%; } ...


1

Don't forget to remove the content type filter after you use the wp_mail function. Following the accepted answer naming you should do this after wp_mail is executed: remove_filter( 'wp_mail_content_type','wpse27856_set_content_type' ); Check this ticket here - Reset content-type to avoid conflicts -- http://core.trac.wordpress.org/ticket/23578



Top 50 recent answers are included