simplethemes
Forum Replies Created
-
Resolved via email support.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] How to create a fixed MenuI use this for fixed menus:
https://github.com/bbarakaci/fixtoYou’ll need to download it, upload /dist/fixto.min.js to a newly created skeleton_childtheme/js/ directory in your child theme.
Next, enqueue it in your child skeleton_childtheme/functions.php like so:
function my_custom_scripts() { $version = wp_get_theme()->Version; wp_enqueue_script('fixto',get_stylesheet_directory_uri()."/js/fixto.min.js",array('jquery'),$version,true); wp_enqueue_script('child-custom',get_stylesheet_directory_uri()."/js/custom.js",array('jquery'),$version,true); } add_action( 'wp_enqueue_scripts', 'my_custom_scripts');
Create another file in skeleton_childtheme/js/ named custom.js and insert this:
jQuery(document).ready(function($) { $('#navigation').fixTo('body'); });
Add the following css to your style.css:
#navigation { z-index: 9; } body.logged-in.admin-bar #navigation.fixto-fixed { padding-top: 32px; }
and you’ll have:
https://cl.ly/2K1V3y3x0P3QActually @vamsi is correct, but the image should be resized or it will look like a banner image.
In your child theme, you could also hook into
skeleton_child_logo()
:function my_custom_logo() { ?> <a class="logotype-img" href="<?php echo esc_url( home_url( '/' ) );?>" title="<?php echo esc_attr( get_bloginfo('name','display'));?>" rel="home"> <img src="path/to/logo.png" alt="logo"> </a> <?php } add_filter( 'skeleton_child_logo','my_custom_logo');
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Remove Sidebar – same setup as demoSorry, I don’t have a demo xml available but will put on my todo list.
As for the wide page (no sidebar) just select the no sidebar page template:
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Use widget in Extras area?The best way to do this is to create (register) a new widget location to hold your widget:
function my_extra_sidebar() { register_sidebar( array( 'name' => __( 'Extra Widget Area', 'smpl' ), 'id' => 'my-extras-sidebar', 'description' => __( 'Extra widget area', 'smpl' ), 'before_widget' => '<div id="extras-widget" class="%1$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', )); } add_action( 'widgets_init', 'my_extra_sidebar' );
Now, we can hook it into the skeleton_child_header_extras() filter:
function show_my_extra_sidebar() { do_shortcode(dynamic_sidebar( 'my-extras-sidebar')); } add_filter('skeleton_child_header_extras','show_my_extra_sidebar');
Notice we wrapped it in do_shortcode() so that shortcodes will work inside the widgets. We also gave it an id of
#extras-widget
so the CSS would look something like:#extras-widget { float: right; }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Removing "by [my login]" with postsYou could just add an empty function to your child theme which will override the parent theme.
function skeleton_posted_on() { //do nothing }
Obviously, if you wanted to change the functionality you’d want to duplicate the function and edit as needed.
It looks like the slider you’re using bases the height of the slider on the largest image in the set. This one in particular is causing the faux margin. https://cl.ly/2k290F0v2W0T
Forum: Reviews
In reply to: [Smpl Skeleton] Not as "child friendly" as they implyThanks for the less than favorable review. I’m sorry it didn’t work out for you.
For future reference, the inline styles are imposed by the theme customizer. That’s the tradeoff. If you don’t need them, you can just dequeue and pass off the responsibility to the child theme like so:
add_action( 'wp_enqueue_scripts', 'customize_it_yourself'); function customize_it_yourself() { wp_deregister_style( 'skeleton-style' ); }
Forum: Reviews
In reply to: [Smpl Skeleton] Close but no CigarThanks for the less than favorable review. I’m sorry it didn’t work out for you.
For future reference, the inline styles are imposed by the theme customizer. That’s the tradeoff. If you don’t need them, you can just dequeue and pass off the responsibility to the child theme like so:
add_action( 'wp_enqueue_scripts', 'customize_it_yourself'); function customize_it_yourself() { wp_deregister_style( 'skeleton-style' ); }
It looks like you have the CSS enabled in Jigoshop. If you’re using the older version of the theme with Jigoshop support, then you need to disable the styles imposed by Jigoshop in the plugin settings.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Google Script not showingThis forum is for the current WP.org version of the theme. If you’ll open up a ticket in Github I’ll see what I can do for the 1.x (2011) version.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Previous Header Logo images not availableI believe this was a WordPress customizer issue that was addressed in WP 4.0.
Forum: Plugins
In reply to: [Simple Shortcodes] css problemIn the plugin settings located under Settings → Writing, you can disable the JS/CSS assets and include them in your theme as you wish. The SASS source is also included.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] smpl-skeleton customizer errorThis sounds like either an issue with your migration or permissions on the uploads directory.
Migrating WordPress: https://codex.www.ads-software.com/Moving_WordPress
WordPress Permissions: https://codex.www.ads-software.com/Changing_File_PermissionsForum: Themes and Templates
In reply to: [Smpl Skeleton] Blog Page problemsApologies for the delayed reply. Looking at the above URL, it looks like you were able to resolve this. Let me know if you’re still having issues and I’ll be glad to investigate further.