Serene Themes
Forum Replies Created
-
Hi Daedalon,
I apologize for the delayed response. I’m currently pursuing other opportunities at the moment, so have not been devoting much time to Clean Yeti. If you would like to take a stab at resolving this issue, please submit a pull request on the github repo. https://github.com/rlafranchi/clean-yeti-basic. I would also encourage taking a look at the dev branch. It is setup to be able to update foundation versions very easily using bower.
Thanks
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Clean Yeti strips out htmlHere’s a function that you can put in your childtheme
functions.php
file. This will show the full content on the blog index page as opposed to the excerpt. I haven’t tested it out, so let me know if it works properlyfunction childtheme_override_content_init() { global $cleanyetibasic_content_length; $content = ''; $cleanyetibasic_content_length = ''; if ( is_singular() || is_home() ) { $content = 'full'; } else { $content = 'excerpt'; } $cleanyetibasic_content_length = apply_filters('cleanyetibasic_content', $content); }
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Clean Yeti strips out htmlMy suggestion would be to have a descriptive paragraph above the list items. The text in that paragraph will show in the excerpt, so that way a reader can get a good idea of what the post is about and then click to read more.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Clean Yeti strips out htmlNevermind, WordPress automatically strips tags when showing excerpts for posts. The reason for this is because if you only want to show the first let’s say 50 characters and you include html tags, there’s a possibility that a closing tag will get cut off. Make sense? Another option is just to show the entire content from the post. You might be able to search for a work around, but there’s not much I can do about it.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Clean Yeti strips out htmlI can’t seem to replicate the issue. Are you using any plugins?
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Clean Yeti strips out htmlHi Brian,
Would you mind posting the entire code that you are trying to publish? That way I can take a look and see if you are missing anything. I know that WordPress will strip tags that are not closed or if there is no content between the tags.It’s a good idea to install a child theme if you haven’t done so already. Create a functions.php file in your child theme. The following assumes you have a script in the root of your childtheme directory named script.js:
<?php // functions.php file function childtheme_add_script() { wp_enqueue_script('childtheme-script-js', get_stylesheet_directory_uri() . '/script.js', array(), 1.0.0, false); } add_action( 'wp_enqueue_scripts', 'childtheme_add_script' ); ?>
The above adds the script to the header. Change the fifth argument from
false
totrue
to add the script to the footer. If the script depends on jquery, then change the third argument fromarray()
toarray( 'jquery' )
That should take care of it. Let me know if you have any issues.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Using Hook to Remove Author MetaHere’s the original code for reference:
function cleanyetibasic_postmeta_authorlink() { global $authordata; $author_prep = '<span class="meta-prep meta-prep-author">' . __('By', 'cleanyetibasic') . ' </span>'; if ( cleanyetibasic_is_custom_post_type() && !current_theme_supports( 'cleanyetibasic_support_post_type_author_link' ) ) { $author_info = '<span class="vcard"><span class="fn nickname">'; $author_info .= get_the_author_meta( 'display_name' ) ; $author_info .= '</span></span>'; } else { $author_info = '<span class="author vcard">'; $author_info .= sprintf('<a class="url fn n" href="%s" title="%s">%s</a>', get_author_posts_url( $authordata->ID, $authordata->user_nicename ), /* translators: author name */ sprintf( esc_attr__( 'View all posts by %s', 'cleanyetibasic' ), get_the_author_meta( 'display_name' ) ), get_the_author_meta( 'display_name' )); $author_info .= '</span>'; } $author_credit = $author_prep . $author_info ; return apply_filters('cleanyetibasic_postmeta_authorlink', $author_credit); }
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Using Hook to Remove Author MetaYou can use a childtheme override function, for the author meta, the following function will work:
function childtheme_override_postmeta_authorlink() { //custom code }
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] CssHero supportThanks for the suggestion. Just started to read some documentation on how to make it compatible.
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Add image to header?You can add an image to the header by adding some custom css like so:
#header { background: url(https://example.com/path/to/image.jpg) no-repeat center center; }
I would recommend creating your own child theme if you plan on adding your own customizations. If you’re not familar with child themes, you can find more info here: https://codex.www.ads-software.com/Child_Themes
The above css code can be included in your child theme’s style.css file
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Concider namespacing your themelol – As far as I know, it is a requirement set by WordPress when submitting to their directory. Now that I think about it, I guess I could have chosen a shorter prefix.
Hi Dimitrov,
It appears that you should be able to customize your css under the theme settings.
I would contact the theme developer for support:
https://themekraft.com/It’s also good to create a child theme if you wish to customize the theme at all, so that way any changes you make or not lost when the theme is updated.
Hi Dimitrov,
this should be a question for the developer of your theme or plugin, but the following should work.try this css code:
.cc-widget { background-color: transparent !important; }
you can add it to your style.css file
Forum: Themes and Templates
In reply to: [Clean Yeti Basic] Don't force height for textareasLooks like a request has already been made:
https://github.com/zurb/foundation/issues/4047