Michael
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Searchform,phpOkay, I have this figured out.
#1 Create a child template called searchform.php then add the following:
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>"> <div><label class="screen-reader-text" for="s"></label> <input type="text" value="" placeholder="Search Sayings..." name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form>
#2 Add function in functions.php
// Add to your init function add_filter('get_search_form', 'my_search_form'); function my_search_form($text) { $text = str_replace('value="Search"', 'value=""', $text); return $text; } #3 Play with css and have fun:
#searchsubmit {
width:60px;
height:60px;
background: url(“https://spirituallight.guru/wp-content/uploads/2015/10/blue-150×1501-e1445989542814.png”) top left no-repeat;
border: none;
}.widget_search #searchsubmit {
position:relative;
Top:-14px;
float:right;
width:60px;
height:60px;
background: url(“https://spirituallight.guru/wp-content/uploads/2015/10/blue-150×1501-e1445989542814.png”) top left no-repeat;
border-style: none;
}.widget_search #searchsubmit:hover {
background: url(“https://spirituallight.guru/wp-content/uploads/2015/10/search-button-without-text-md-e1445994936133.png”) top left no-repeat;
border: none;
}
.widget_search {
position:relative;
height:60px;
width:100%;
border:none;
}.widget_search #s {
position:absolute;
top:0px;
width:91%;
border:1px solid #08e !important;
border-bottom: 3px solid #08c !important;
-webkit-box-shadow: 0px 0px 7px rgba(50, 50, 50, 0.75) !important;
-moz-box-shadow: 0px 0px 7px rgba(50, 50, 50, 0.75) !important;
box-shadow: 0px 0px 7px rgba(50, 50, 50, 0.75) !important;
}`Forum: Themes and Templates
In reply to: [Customizr] Edit Post Meta TextOkay, here is what I’ve been looking for Dave, it is found in
class-content-post_meta.php/** * hook : tc_post_tax_metas_html * @return string */ function tc_set_tax_metas( $_html , $_tax = array() ) { if ( empty($_tax) ) return $_html; //extract "_show_cats" , "_show_tags" , "cat_list", "tag_list" extract($_tax); $cat_list = ! empty($cat_list) && $_show_cats ? sprintf( '?%s %s' , __('in' , 'customizr') , $cat_list ) : ''; $tag_list = ! empty($tag_list) && $_show_tags ? sprintf( '?%s %s' , __('tagged' , 'customizr') , $tag_list ) : ''; return sprintf( '%s%s' , $cat_list, $tag_list ); }
Hey Dave, how can I get this to work in my child functions.php?
Forum: Themes and Templates
In reply to: [Customizr] Edit Post Meta TextHi Dave thanks so much for taking the time to respond back. The old functions for post metas does not work any more. The css does work but not the functions. Do you know what I need to change to update the code to work on the current version?
Any feedback is always appreciated
God Bless// START OF Remove Post Meta Details //Change meta text add_filter('tc_meta_utility_text', 'rdc_meta_utility_text', 15); function rdc_meta_utility_text($output) { // CHANGE TO DEFAULT TEXT IF NON-ENGLISH LANGUAGE $oldentry1 = 'This entry '; $oldposted1 = 'was posted in '; $oldposted2 = 'was posted on '; $oldtagged1 = 'and tagged '; $olddate1 = 'on '; $oldby1 = 'by '; $oldfullstop = '.'; // CHANGE TO DEFAULT TEXT IF NON-ENGLISH LANGUAGE // Edit this wording to your needs, to remove completely use '' $newentry1 = 'This entry '; $newposted1 = 'was posted in '; // Category $newposted2 = 'was posted on '; $newtagged1 = 'and tagged '; // Tag $newdate1 = 'on '; // Date $newby1 = 'by '; // Author $newfullstop = '.'; // Edit above wording only return str_replace(array( $oldentry1, $oldposted1, $oldposted2, $oldtagged1, $olddate1, $oldby1, $oldfullstop ), array( $newentry1, $newposted1, $newposted2, $newtagged1, $newdate1, $newby1, $newfullstop ), $output); } // END OF Remove Post Meta Details
Forum: Themes and Templates
In reply to: [Customizr] Edit Post Meta TextI need to bump this.
Hopefully someone can tell me how to edit the post meta day. I feel it has to do with functions.php
Anyone have any idea?Forum: Themes and Templates
In reply to: [Customizr] Logo link is not working on mobile versionHi Dave and thanks for the knowledge always.
Forum: Themes and Templates
In reply to: [Customizr] Logo link is not working on mobile versionHi Dave, the theme is solid for sure.
Thanks for taking the time to respond, that means alot.
thanks again.So here is what I discovered, when the logo is aligned with the 3 button navbar, the navbar wrapper will float over the logo, making it nonclickable,
I resolved this by floating the navbar wrapper to the right and strinking the width from 100% to 10% as such
.navbar-wrapper.clearfix.span9 { width: 10%; margin: 0; float: right; }
and this seemed to fixed the issue. What do you think?
Forum: Themes and Templates
In reply to: [Customizr] centering the video player on the pageHi,
just add this to your custom css, cheers ??
.wp-video { margin:auto; }
Forum: Themes and Templates
In reply to: [Customizr] 3 bar menu issueAfter reading more, and playing around, I discovered a solid solution
and here it is:
.navbar-wrapper .navbar h2, h2.site-description { display: none; } .navbar-inner .social-block { display: none; } a.site-logo img { max-height: 70px !important; max-width: 70px !important; } @media (max-width: 980px) { .tc-header .brand h1, .tc-header .brand a { margin: 7px 0 0; float:left; padding-left:10px; } .tc-header .brand { position: absolute; } a.site-logo img { max-height: 50px !important; } .nav-collapse, .nav-collapse.collapse { overflow-y: hidden; position: fixed; z-index: 9999999 !important; } header.tc-header { position: fixed; }
Forum: Themes and Templates
In reply to: [Customizr] Simple Page Not Working . PLZ HELPD4z is the best, such knowledge!
Forum: Themes and Templates
In reply to: [Customizr] Fatal Error Line 181 PHPThe featured pages plugin is having an issue
Image corrupt or truncated: https://i2.wp.com/insytanalytics.com/wp-content/uploads/2014/05/workforce-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i1.wp.com/insytanalytics.com/wp-content/uploads/2014/05/education-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i2.wp.com/insytanalytics.com/wp-content/uploads/2014/05/workforce-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i2.wp.com/insytanalytics.com/wp-content/uploads/2014/05/human-services-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i1.wp.com/insytanalytics.com/wp-content/uploads/2014/05/education-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i0.wp.com/insytanalytics.com/wp-content/uploads/2014/05/health-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i1.wp.com/insytanalytics.com/wp-content/uploads/2014/05/arts-1280×500.jpg?resize=9999%2C500
Image corrupt or truncated: https://i0.wp.com/insytanalytics.com/wp-content/uploads/2014/05/health-1280×500.jpg?resize=9999%2C500Forum: Themes and Templates
In reply to: [Customizr] Change color of author links sitewideThis is why I love customizr, you all are awesome, I’m going to get back on this, I think I can figure it out and i know what the issue is, I want to thank you both D4 and Chris, you guys are very cool, have a nice night. Hope you are feeling better D!
Forum: Themes and Templates
In reply to: [Customizr] Final Site is upHey bud, the site looks ten times better, and the images but truthfully, the shadowed text effect makes the words almost impossible to read, I’m just being honest, and the colors green, I really like it, the logo is clean too but the top right description is rough, you really need to remove the shadowed text effect or tone it down.
You did a great job over all. Congrats and I wish you much success!Forum: Themes and Templates
In reply to: [Customizr] Final Site is upLooks nice! I like what you have, some of the images look grainy and I know that your customers probably won’t like it, because the quality of some of the images are just not good looking, then some of the images are crystal clear, love what you’ve done.
Forum: Themes and Templates
In reply to: [Customizr] Change color of author links sitewideHey buddy, thank you for sharing that with me! It didn’t seem to have any affect, this was the function I added.
add_filter('tc_author_meta', 'my_author_meta'); function my_author_meta( $author ){ if ( ! function_exists('usp_author_link') ) return $author; ob_start(); ?> <span class="author vcard"><?php usp_author_link(); ?></span> <?php $author = ob_get_contents(); if ($author) ob_end_clean(); return $author; }
You can see how it would easily override the css because the the usp_author_link is the call function. and not the typical codex author function.
Anyhow, I really appreciate the effort as well as your valuable and all my friend!
Forum: Themes and Templates
In reply to: [Customizr] Change color of author links sitewideAbsolutely, thank you for asking it is https://poetsayings.com with now 32 plugins, you can find a list of all the plugins, I posted them two days ago to the forum. I appreciate the interest!
I’m currently setting up a guest submission front end so users can post poems to the website.