• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Badlywired

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 16 posts - 141 through 156 (of 156 total)
← 1 2 3 … 6 7 8
  • Author
    Posts
  • January 15, 2015 at 1:21 pm in reply to: Custom Sidebar for the Homepage #137588
    Badlywired
    Member

    Hashim,

    If you aren't a coder these approaches are not for you, because they are code heavy.

    You can achieve what you want with one primary sidebar and then applying conditions so that you control what pages display what widgets. Like this

    Primary SideBar
    Widget A - show on home page only
    Widget B - show on about page only
    Widget C - show on all pages & posts except homepage & about page
    etc

    See what I mean? This way you just have to go through your widgets once, not all your posts.

    WordPress does allow you to apply logic of when widgets are displayed however there are at least two plugins that do
    - WidgetLogic https://wordpress.org/plugins/widget-logic/
    - JetPack https://wordpress.org/plugins/jetpack/ which has this as one of its many options

    Jetpack is easier to use for a non programmer, Widget logic requires you to understand WordPress conditional tags http://codex.wordpress.org/Conditional_Tags

    There may be more plugins like this out there, but these are the two I know that currently work


    My techy blog WordPress and stuff badlywired.com

    January 15, 2015 at 11:37 am in reply to: Multi-site page templates usable for all sites #137568
    Badlywired
    Member

    I'm not trying to be funny but are you missing something obvious?

    The Child Theme and Page Template mechanisms are inbuilt to WordPress not specific to Genesis.

    So double check that the child theme is correctly a child theme, i.e. the style.css contains this line
    Template: genesis in the comment block http://codex.wordpress.org/Child_Themes

    And of course the directory name that contains your genesis code is 'genesis'

    If that is in order, the next thing you want to check is that the permissions and ownership of page_blank.php as it is possible that you have created a file that you can obviously see (via ftp I assume?) but may not have permission to be read by php programs being run by the webserver user. Changing permissions to 754 if required.


    My techy blog WordPress and stuff badlywired.com

    January 15, 2015 at 11:06 am in reply to: Breadcrumbs showing html markup for superscript – want to hide html #137560
    Badlywired
    Member

    I can't think of anyway. But it is altering the behaviour of esc_html across the site (unless you use StudioPresses version), so there is a REMOTE chance that some HTML slips through that shouldn't somewhere and your site formatting gets screwed up, so hence not accepting any liability 🙂


    My techy blog WordPress and stuff badlywired.com

    January 15, 2015 at 11:02 am in reply to: Multi-site page templates usable for all sites #137559
    Badlywired
    Member

    Strange. All I can say is it worked fine in my test multisite. I assume that your subsites are actually using Genesis child themes of course.

    When you say "but it doesn’t show up in the drop downs in all my sites. " do you mean that or "but it doesn’t show up in the drop downs in ANY OF my sites.

    If it is showing in some, but not others, I would be asking what is the difference - different themes? different plugins?

    If it is not showing in ANY, then the first thing I'd do is install the Genesis 'Sample' theme and create a clean new subsite and work from there.


    My techy blog WordPress and stuff badlywired.com

    January 15, 2015 at 10:23 am in reply to: Breadcrumbs showing html markup for superscript – want to hide html #137555
    Badlywired
    Member

    p.s. I also raised this with StudioPress and they gave two other work arounds
    ......................... this is what they say --------

    For now, another workaround you are welcome to use that filters Genesis breadcrumb links only and not esc_html throughout WordPress is this:

    add_filter( 'genesis_breadcrumb_link', 'sp_html_crumbs', 10, 4 );
    function sp_html_crumbs( $link, $url, $title, $content ) {
    	$link = sprintf( '<a href="%s"%s>%s</a>', esc_attr( $url ), $title, $content );
    	return $link;
    }

    If you prefer, you can also solve the issue without writing code by installing the WordPress SEO plugin and activating breadcrumbs under SEO > Internal Links (http://d.pr/i/19y2Y ). This works because WordPress SEO doesn't escape HTML in breadcrumb links by default like Genesis does. (That may change in the future, though.)


    My techy blog WordPress and stuff badlywired.com

    January 15, 2015 at 8:01 am in reply to: Breadcrumbs showing html markup for superscript – want to hide html #137529
    Badlywired
    Member

    Adding this to your functions.php should do it

    // filter to allow <sup> tag through esc_html
    add_filter('esc_html', 'bw_esc_html',10,2);
    function bw_esc_html($val, $text, $content = null)
        {
           $text = wp_check_invalid_utf8( $text );
           return wp_kses($text, array ( 'sup' => array()));
        }

    Obviously use at your own risk.

    Detailed explanation of your issue here -> http://badlywired.com/2015/genesis-breadcrumbs-markup/


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 4:32 pm in reply to: Local Government Site built using Genesis #137488
    Badlywired
    Member

    p.s. I just noticed you still have the default genesis favicon, would be better to have a custom one

    http://badlywired.com/2015/adding-favicon-genesis-theme/


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 4:14 pm in reply to: Local Government Site built using Genesis #137486
    Badlywired
    Member

    Very original.


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 4:09 pm in reply to: Need help with Code snippet/CSS #137483
    Badlywired
    Member

    I see you did it by adding a class to the menu item

    .menu-secondary .firstitem {
    background-color: #f1e629;
    border: 1px solid grey;
    }

    Just for the sake of it you could also have done it via 'first-child' without adding the class

    .menu-secondary li:first-child {
    background-color: #f1e629;
    border: 1px solid grey;
    }

    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 4:03 pm in reply to: Multi-site page templates usable for all sites #137480
    Badlywired
    Member

    Did you solve, this because it should work.

    I even did it in my test multi site and it worked

    my page_blank.php looked like this

    <?php
    
    /*
    Template Name: Page Blank
    */
    
    ?>

    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 3:51 pm in reply to: Changing background image on one page only #137478
    Badlywired
    Member

    Use this approach I detail here
    http://badlywired.com/2015/applying-styling-specific-wordpress-page/

    using the css (assume your page is 123 )

    body.page-id-123 { background-image: url("path to image") }

    Depending on you exact requirements / theme you may need be more specific e.g.

    body.page-id-123 .site-inner { background-image: url("path to image") }

    whatever your 'default' background css selector is


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 3:37 pm in reply to: Changing Width of One Page Type #137476
    Badlywired
    Member

    Yes it makes sense.

    Inspect the body tag and you should see a classe along the lines of category-blog

    You can then style your page

    width something like body.category-blog .content-sidebar-wrap {padding left: 10%; padding-right: 10% }

    My blog post here explains a bit more about inspecting and using the body classes and the same principal can be applied to do what you need http://badlywired.com/2015/applying-styling-specific-wordpress-page/

    ....edit....

    Devil is in the detail. I actually looked at your site and think I understand your issue, it is on the single pages
    In this case there is a class on the <article> category-blog and category-photography

    So you can custom style these with article.category-blog { ... whatever ....


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 3:27 pm in reply to: Favicon will not change! #137474
    Badlywired
    Member

    At the time of writing, you hadn't changed it in the one place it matters
    http://insight.crystalbastrology.com/wp-content/themes/crystal_b_custom/images/favicon.ico

    I blogged how to do this only recently http://badlywired.com/2015/adding-favicon-genesis-theme/


    My techy blog WordPress and stuff badlywired.com

    January 14, 2015 at 2:19 am in reply to: Redirection in PHP Code #137392
    Badlywired
    Member

    Yes, they are correct, WordPress will internally redirect http://www.mydomain.com to mydomain.com or visa versa using PHP based on the URL settings in general>settings (or wp-config.php).

    The redirect is very important for SEO purposes otherwise you have in effect 2 SEPARATE websites with the same content, http://www.mydomain.com is a different sub domain to mydomain.com.

    To avoid this PHP redirect, add the redirect to your .htaccess (there are tons of examples / how to do it on Google )

    Apply the .htaccess redirect

    Then your host won't be able to claim then that is an issue, but I doubt it will really improve speed, but it is one less excuse from your host.


    My techy blog WordPress and stuff badlywired.com

    January 12, 2015 at 10:02 am in reply to: Author box with uploaded image #137180
    Badlywired
    Member

    I use this plugin WP User Avatar https://wordpress.org/plugins/wp-user-avatar/ works on my sites


    My techy blog WordPress and stuff badlywired.com

    January 12, 2015 at 9:57 am in reply to: Redirection in PHP Code #137176
    Badlywired
    Member

    If it is a slow overloaded shared server without any PHP caching then the PHP redirect could be a factor.

    You should check out http://www.webpagetest.org to analyse what is slow. However, normally slow hosts are the biggest issue and can be solved by paying more for your service.


    My techy blog WordPress and stuff badlywired.com

  • Author
    Posts
Viewing 16 posts - 141 through 156 (of 156 total)
← 1 2 3 … 6 7 8
« Previous Page

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble