Serene Themes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Don't force height for textareaswell, after looking into it some more it appears that the height of the textarea can’t be dragged vertically when the height is set to auto, only horizontally. I may have seek a solution from foundation.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Setting for copyright textLooks good, I’ll add it in for the next version.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Don't force height for textareasWell, this is another default foundation setting. I think I found a work around though. I’m no expert with js and jquery but this seems to work:
$('body').find('textarea').each(function () { if ($(this).attr('rows')) { $(this).css('height', 'auto'); } else { // attribute does not exist } });I will add this to foundation.custom.js
I guess another thing you could do is add the following to your csstextarea { height:auto; }Forum: Themes and Templates
In reply to: [Clean Yeti Basic] How to use iconsWell, technically all of the fonts are part of the up-sell…. but if you are so inclided you add the following to your css:
.general-foundicon-search:before { content: "\f02e"; } HTML: <i class="general-foundicon-search"></i>Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Setting for copyright textWell here’s the code I used for the default copyright:
/* * Copyright code, courtesy of Chip Bennett * http://wordpress.stackexchange.com/questions/14492/how-do-i-create-a-dynamically-updated-copyright-statement */ function cleanyetibasic_copyright() { global $wpdb; $copyright_dates = $wpdb->get_results(" SELECT YEAR(min(post_date_gmt)) AS firstdate, YEAR(max(post_date_gmt)) AS lastdate FROM $wpdb->posts WHERE post_status = 'publish' "); $output = ''; if($copyright_dates) { $copyright = "© " . $copyright_dates[0]->firstdate; if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) { $copyright .= '-' . $copyright_dates[0]->lastdate; } $output = $copyright; $output .= ' ' . get_bloginfo( 'name' ); } return apply_filters( 'cleanyetibasic_copyright', $output); }The only thin I can think of is that somewhere you have post with a post_date_gmt YEAR of zero. Maybe you can check your database. I haven’t been able to replicate the problem.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Disable edit link on pagesadded _pageeditlink function and override. will update in next version.
Fixed: will update initialization script with next version. Foundation includes a setting such as follows:
{topbar: { mobile_show_parent_link: true }}cleanyetibasic.css is compiled based on foundation settings. I’m afraid if I change the file at all it will overwritten the next time I update foundation. I believe that as long as the flag styles are called after cleanyetibasic.css then it should work properly. Take a look at your head and let me know if the flag styles are called before or after cleanyetibasic.css.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] JS settings and speedupsfoundation.min.js is a minified script that loads all of the foundation libraries. It may be tricky, but I’ll look into a way to be able to create a minified script based on user selected libraries and I will get back to you.
In this case, I should also be able to include the custom script as well.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Serene Themes SupportI haven’t been able to find an option for notification of new threads, but I solved it by subscribing to the support thread.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Serene Themes Supportjust uploaded v2.1.0 and changes include updating foundation framework to 5.0.3 and adding a theme settings page which includes an option to display credits and custom copyright. A basic settings UI for now and will improve in the future.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Setting for copyright textIt may take a little while because I want to set it up properly so that I can easily add any other options in the future.
I like to set up options in the theme customize preview so that you can see changes before you save them. I know that others prefer to create a theme options menu on the dashboard. In general, do you know which method is preferred for theme options? What is your preference?
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] How to not display post images?Yes, and it is included in 2.0.3. format-standard.php is the default template that is called. I’ve removed the function cleanyetibasic_insert_featured_image() from that file. Let me know if there any issues.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Setting for copyright textYou can now overwrite copyright text in v2.0.3 using the following:
function copyright_change($output) { $output = '© 2013, 2014-2016 My Copyright'; return $output; } add_filter('cleanyetibasic_copyright', 'copyright_change', 1);Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Serene Themes Supportuploaded v 2.0.3. Progress can be found here:
https://themes.trac.wordpress.org/ticket/16234Forgot to remove a test function for adding a filter to the new copyright function in v2.0.2. That’s why there’s a jump to 2.0.3. I still don’t have an options menu, but everything you requested should now be over-writable.
check out the diffs between old and new here:
https://themes.trac.wordpress.org/changeset?old_path=/clean-yeti-basic/2.0.1&new_path=/clean-yeti-basic/2.0.2I plan to work on some theme options including the copyright. I was also thinking of creating an options framework to be able to choose left sidebar, right sidebar, two sidebars, sidebar and content width, etc.