Chris Cook
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Change post title based on categoryThanks
Forum: Developing with WordPress
In reply to: Change post title based on categoryI figured this out by adding the following code to my functions.php
add_action( 'the_title', 'title_color', 10, 2 ); function title_color( $title, $post_id ) { if( has_category( 4, $post_id ) ) { $title = '<span class="red">' . $title . '</span>'; } return $title; }
Forum: Plugins
In reply to: [Memphis Documents Library] Only One Main Folder Showing on PageResolved
Forum: Plugins
In reply to: [Memphis Documents Library] Only One Main Folder Showing on PageI got the other folders to show by enabling the nav bar.
Thanks.
Forum: Fixing WordPress
In reply to: front-page changing background on hoverYou can use simple jQuery.
$(‘a.class’).on(‘mousein’, function(){ $(‘#portfolio’).css(‘background-image’, ‘url(“other.jpg”)’); }); $(‘a.class’).on(‘mouseout’, function(){, function(){ $(‘#portfolio’).css(‘background-image’, ‘url(“img2.jpg”)’); });
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Forum: Developing with WordPress
In reply to: Creating a Different Header for Single Post Page<?php get_header(‘single’); ?>
Forum: Fixing WordPress
In reply to: Warning: require_onceI have this same issue but deleting through FTP and reinstalling is not helping. Any thoughts?
Warning: require_once(/home3/rmhcmke/public_html/wp-includes/IXR/class-IXR-server.php): failed to open stream: No such file or directory in /home3/rmhcmke/public_html/wp-includes/class-IXR.php on line 42
Fatal error: require_once(): Failed opening required ‘/home3/rmhcmke/public_html/wp-includes/IXR/class-IXR-server.php’ (include_path=’.:/opt/php54/lib/php’) in /home3/rmhcmke/public_html/wp-includes/class-IXR.php on line 42
- This reply was modified 8 years, 1 month ago by Chris Cook.
- This reply was modified 8 years, 1 month ago by Chris Cook.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce product options not showing on homepageSorry I am using the plugin “WooCommerce TM Extra Product Options”.
https://codecanyon.net/item/woocommerce-extra-product-options/7908619
Forum: Themes and Templates
In reply to: [Pure & Simple] How to make header background transparentThe code you have now is this
.site-info { display: inline-block; padding: 15px 30px; background: #fff; }
Replace it with this and it will work.
.site-info { display: inline-block; padding: 15px 30px; background: rgba(255, 255, 255, 0.8) !important; }
Forum: Themes and Templates
In reply to: Can't get new child theme to workGlad to help.
Happy Coding!
Forum: Themes and Templates
In reply to: Can't get new child theme to workYour functions.php in the child theme cannot repeat the same code that is in the original functions.php, you will add any new functions to your child themes functions.
Delete what you have in the child theme functions and try it.
Forum: Themes and Templates
In reply to: [Pure & Simple] How to make header background transparentbackground: rbga (255, 255, 255, 0.2);
Using this code is the way to make a background color transparent. The best thing to do if you want to start customizing your site is to create a child theme and start editing using css.
Forum: Fixing WordPress
In reply to: How to make page content wider?Glad to help..
Forum: Themes and Templates
In reply to: [Gridsby] content showing up way off centerChange your page template to whatever the bio page is using.
Forum: Fixing WordPress
In reply to: How to make page content wider?Replace code ( max-width: 37.5em; ) of your style.css on line 892 with ( max-width: 980px; ) it should look like below.
.page-content, .entry-content, .entry-summary, .entry-footer, .comments-area { color: #4d4d4d; margin-left: auto; margin-right: auto; max-width: 980px; }