simplethemes
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Shortcodes] Is it possible to ad classes?Yes, I’ve added 2 parameters to the toggle shortcode in the next update.
open="true"
and
class="yourclassname"
Thanks.
Forum: Plugins
In reply to: [Simple Shortcodes] Toogle initially open?Yes, I’ve added a parameter to the toggle
open="true"
which will be in the next update. Thanks.Forum: Plugins
In reply to: [Simple Shortcodes] dotted-border-half.png missinghmm. I’m not seeing this reference anywhere in the CSS.
Are you using an older version perhaps?Forum: Themes and Templates
In reply to: [Smpl Skeleton] Best Practice?Hi Bill,
I’m not sure what version of the theme you’re using but you may be overthinking it.
Hopefully (if you’re using the latest theme from the WordPress repository) you have the companion shortcodes plugin installed with the theme:
https://www.ads-software.com/plugins/smpl-shortcodes/To call up a post from a category into a static page, you could use the [latest] shortcode as documented best here:
https://themes.simplethemes.com/synapse/latest-posts-shortcode-documentation
For example, this would show a single post from category ID #4 with the excerpt:
[latest excerpt="true" num="1" cat="4"]
Forum: Themes and Templates
In reply to: [Smpl Skeleton] No longer responsive?Looks like you’ve implicitly told it not to be responsive in your CSS:
body { width: 900px; margin-left: 150px; }
You should remove that ^ from your CSS.
Try this in your child theme functions.php:
function skeleton_thumbnailer($content) { global $post; global $id; $size = 'squared150'; $align = 'alignleft scale-with-grid'; $image = get_the_post_thumbnail($id, $size, array('class' => $align)); if (!is_single()) { $content = $image . $content; } return $content; } add_filter('the_content','skeleton_thumbnailer');
This is copied from the parent theme’s functions.php file. I just enclosed the output in the
!is_single()
conditional.Forum: Themes and Templates
In reply to: [Smpl Skeleton] Remove page title?If it’s just a one-off instance, you can add a custom field named “hidetitle” with value of “true”. If you want this to be site-wide, then you might consider copying the below file to your child-theme/loop-page.php and remove line#29
https://themes.trac.www.ads-software.com/browser/smpl-skeleton/2.1.0/loop-page.php#L29
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Pagination does not workHi,
The ‘latest’ shortcode isn’t intended to be the primary method of rendering posts and thus pagination isn’t supported in this context.
The purpose of the latest shortcode is to be used inside a Page (for example) that has content of it’s own. You might use this to render a block of related posts in the same category or something.
Here is some more detailed documentation of how the shortcode is intended to function:
https://themes.simplethemes.com/synapse/latest-posts-shortcode-documentationForum: Themes and Templates
In reply to: [Smpl Skeleton] Place navbar next to header textThe#navigation element comes after the #header, so you’d need to override some functions in your child theme:
// Reopen Header DIVs function child_reopen_header() { remove_action('skeleton_header','skeleton_header_close', 5); } add_action('after_setup_theme','child_reopen_header'); // Apply new markup to #navigation function skeleton_main_menu() { echo '<div id="navigation">'; wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary')); echo '</div><!--/#navigation-->'; // close header DIVs echo "</div>"."\n"; echo "</div>"."\n"; echo "<!--/#header-->"."\n"; } add_action('skeleton_navbar','skeleton_main_menu', 1);
And add some CSS to your style.css:
#navigation { float: right; top: -40px; }
To swap the sidebars, set your default width to right and override the posts/archive views via body class:
body.archive.sidebar-right #sidebar, body.single-post.sidebar-right #sidebar { float: left !important; } body.archive.sidebar-right #content, body.single-post.sidebar-right #content { float: right !important; }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Logo and MenuResponsive header/logo CSS:
https://www.ads-software.com/support/topic/header-logo-10?replies=2Forum: Themes and Templates
In reply to: [Smpl Skeleton] ThemeOptions TypographyHi,
Yes, basically 2.0 and 2.1 enqueue fonts differently.
It’s possible with both versions though.Here is some sample child theme functions that work with 2.0 which allow you to filter the font options in both the UI and frontend output:
https://pastebin.com/UpFmkXbeForum: Themes and Templates
In reply to: [Smpl Skeleton] Header LogoYes, the easiest way is to ensure the maximum width is 320px or less.
If you specify a larger header, then you’ll need some device-specific media queries in your CSS. Without knowing what size your header is, here is a starting point with comments to resize the header image based on screen/device size:/* Tablet Portrait size to standard 960 */ @media only screen and (min-width: 768px) and (max-width: 959px) { h1#site-title img { max-width: 768px; } } /* All Mobile Sizes (devices and browser) */ @media only screen and (max-width: 767px) { h1#site-title img { max-width: 320px; margin: 0 auto; } } /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ @media only screen and (min-width: 480px) and (max-width: 767px) { h1#site-title img { max-width: 480px; } }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] ThemeOptions TypographyI don’t believe customizer.php was ever part of 2.0.0.
If you’re using the options-framework version, you may want to refer to the code that matches your version.Is this specific to your site or do you see this behavior in the demo and elsewhere?
If you could provide a link and browser/OS I’ll be glad to have a look.Forum: Themes and Templates
In reply to: [Smpl Skeleton] Change top nav orderYou can assign items to a menu from Appearance > Menus, then just set the menu to use the available theme location.