DancingFighterG
Forum Replies Created
-
Thanks for the info and it worked. Now I just need to figure out how to move the social media items below the feature pages.
Fixed!!
Forum: Themes and Templates
In reply to: [Customizr] Inability to access admin area with themeI might still have an issue. Will let you know in a sec
Forum: Themes and Templates
In reply to: [Customizr] Inability to access admin area with themePerfect. Thanks bud. Wow, how did I miss that!! Thanks
Forum: Themes and Templates
In reply to: [Customizr] Remove icon next to page nameFound the solution:
.format-icon:before {
speak: none;
text-transform: none;
-webkit-font-smoothing: antialiased;
padding-right: 10px;
opacity: 0.2;
position: relative;
top: 8px;
display: none;
font: normal normal 1.2em/1 ‘entypo’;
}Thanks
Forum: Themes and Templates
In reply to: [Customizr] Inability to access admin area with themeI was able to get rid of the error but to do it I removed the entire function.php. There is something going on with the function.php file but I don’t know what as it applies to the pluggable.php
Here is what is currently in the function.php for the child function. It has been working fine so far:
<?php
/**
* This is where you can copy and paste your functions !
*/add_filter(‘tc_colophon_right_block’, ‘my_image’);
function my_image(){
$img_url = get_stylesheet_directory_uri().’/imgs/hdfooterlogo.png’; //put your image in child-theme/imgs
$width = ‘250px’; /* change these values */
$height = ’79px’; /* ^ */
$img = ‘<img alt=”logo” src=”‘.$img_url.'” width=”‘.$width.'” height=”‘.$height.'” class=”pull-right”>‘;
return ‘<div class=”span4 right-image”>’.$img.'</div>’;
}
?><?php
add_filter( ‘tc_credits_display’, ‘my_credits_display’ );
function my_credits_display($html) {
$logo_src = esc_url ( tc__f( ‘__get_option’ , ‘tc_logo_upload’) ) ;
if ( empty($logo_src) )
return $html;
?>
<div class=”span4 credits”>
<?php
$credits = sprintf( ‘<p> · ? %1$s · Shades of Happiness·</p>’,
esc_attr( date( ‘Y’ ) ),
esc_url( home_url() ),
esc_attr(get_bloginfo()),
‘<img src=”‘.$logo_src.'” alt=”‘.esc_attr(get_bloginfo()).'”>’,
‘Hunter Douglas‘
);
echo $credits;
?>
</div>
<?php
}Forum: Plugins
In reply to: [WP Document Revisions] Potential Fix – Delivering Corrupt docxWhat file do I make this update too?
Forum: Themes and Templates
In reply to: [Customizr] Removing Designed by Themes & Co ·Ok, I was able to modify the function to do what I need it to do. Thanks!!
Forum: Themes and Templates
In reply to: [Customizr] Removing Designed by Themes & Co ·In in a past post that I did here was some code to modify the credits for the theme:
add_filter( 'tc_credits_display', 'my_credits_display' ); function my_credits_display($html) { $logo_src = esc_url ( tc__f( '__get_option' , 'tc_logo_upload') ) ; if ( empty($logo_src) ) return $html; ?> <div class="span4 credits"> <?php $credits = sprintf( '<p> · ? %1$s <a href="%2$s" title="%3$s" rel="bookmark">%4$s</a> · Designed by %5$s ·</p>', esc_attr( date( 'Y' ) ), esc_url( home_url() ), esc_attr(get_bloginfo()), '<img src="'.$logo_src.'" alt="'.esc_attr(get_bloginfo()).'">', '<a href="'.TC_WEBSITE.'">Themes & Co</a>' ); echo $credits; ?> </div> <?php }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Trying to see if I can place this in the function.php for my child theme
Forum: Themes and Templates
In reply to: [Customizr] Removing Designed by Themes & Co ·Here is the url to the site:
Forum: Themes and Templates
In reply to: [Customizr] Removing Designed by Themes & Co ·Currently I’m using a child theme to customize the footer to include a logo:
add_filter('tc_colophon_right_block', 'my_image'); function my_image(){ $img_url = get_stylesheet_directory_uri().'/imgs/hdfooterlogo.png'; //put your image in child-theme/imgs $width = '250px'; /* change these values */ $height = '79px'; /* ^ */ $img = '<a href="https://hunterdouglas.com"><img alt="logo" src="'.$img_url.'" width="'.$width.'" height="'.$height.'" class="pull-right"></a>'; return '<div class="span4 right-image">'.$img.'</div>'; } ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I would like to modify the child them to take away what I want
Forum: Themes and Templates
In reply to: [Customizr] Adding footer image to right cornerThanks!!
Forum: Themes and Templates
In reply to: [Customizr] Adding footer image to right cornerCool thanks!! You are great. Will be using more of your themes include this one for other projects as well. What other themes do you support other than this one?
Forum: Themes and Templates
In reply to: [Customizr] Adding footer image to right cornerOne last question:
What do I need to modify in the code to allow the image to link to a website?
Forum: Themes and Templates
In reply to: [Customizr] Adding footer image to right cornerYes, I want to replace the back to top link with the logo. Also, what code do I need to change so it uses a specific image. Do I upload the image right to the directory where the child them style.css is at?