• 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

manavecplan

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 12 posts - 41 through 52 (of 52 total)
← 1 2 3
  • Author
    Posts
  • May 10, 2014 at 4:24 pm in reply to: Breadcrumbs Modification #104476
    manavecplan
    Member

    Hey Paul,

    Almost there! 😀

    The original code you gave me works just fine in theory:

    
            $args['home'] = ' <img src"/images/some-image-of-a-home.png"> '; 
    	$args['sep'] = ' <img src"/images/some-other-image.png"> ';
    

    However, only the separators kick in when I use the following code:

    
            $args['home'] = ' <img src="http://i.imgur.com/S8XY6Nx.png">'; 
    	$args['sep'] = ' <img src="http://i.imgur.com/YgivoWd.png">';
    

    It makes no sense to me because the formats are identical...

    Also, the following works just fine:

    
    $args['home'] = ' Home '; 
    	$args['sep'] = ' <img src="http://i.imgur.com/YgivoWd.png">';
    
    May 10, 2014 at 8:41 am in reply to: Breadcrumbs Modification #104426
    manavecplan
    Member

    It's a local sandbox for now...hence, no link available.

    And, now, unfortunately, the breadcrumbs aren't even showing up! 🙁

    Note: I have no other PHP except the default Sample theme PHP and this code.

    May 10, 2014 at 7:55 am in reply to: Breadcrumbs Modification #104421
    manavecplan
    Member

    Thanks for replying so quickly Paul!

    This is very similar to what I had tried(copy-pasted from a site) but it doesn't work.

    In fact, it gives me a parse error(just tried again). 🙁

    February 10, 2014 at 11:10 pm in reply to: @font face Issues #89736
    manavecplan
    Member

    Thanks for replying guys!

    I didn't know about the / issue so that's a great insight in any case...

    The problem persists though...now, tried it with the "/fonts" and simple "fonts". Should I be attempting to rename the folder or something?

    P.S. Lovely mod of Parallax pro on your site...the "Our Work" Section seems to be broken though.

    January 28, 2013 at 12:59 pm in reply to: Footer Nav #15606
    manavecplan
    Member

    Eh? Which bits Anita? Can't seem to pick it up... 🙁

    Weirdly enough, the CSS for #topnav and #footer is EXACTLY the same. Yet, the difference exists...

    January 28, 2013 at 12:20 pm in reply to: Footer Nav #15598
    manavecplan
    Member

    That's very strange...thought I had keyed it in correctly.

    This is my current PHP but it still breaks formatting(please ignore the double hrefs)...

    
    //ADMIN: Customize the footer
    function bg_footer() { ?>
    <div id="footer">
    <div class="wrap"><span class="left">
    © <!--?php echo date('Y'); ?-->-City Slickin'. All Rights Reserved.</span>
    <span class="right">Powered by some taste, <a href="http://www.yoyohoneysingh.com/">timeless music</a> and the spirit of Bombay.
    
    </span></div>
    </div>
    <!--?php <br ?-->}
    remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
    remove_action( 'genesis_footer', 'genesis_do_footer' );
    remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
    add_action( 'genesis_after', 'bg_footer' );
    
    

    FWIW, this is how my header is coded...

    //ADMIN: Add the top navigation
    function topnav() {
    echo '
    <div id="topnav">
    <div class="wrap"><span class="left"><span class="from-the-blog">Like reading here?</span><a class="twitter-follow-button" href="https://twitter.com/cityslickin" data-show-count="false" data-size="medium">Follow @cityslickin</a>
    <script type="text/javascript">// <![CDATA[
    !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
    // ]]></script></span><span class="right"><a class="first" href="http://www.cityslick.in">Home</a><a href="http://cityslick.in/about-us//">About Us</a><a href="http://cityslick.in/get-in-touch/">Get in Touch</a></span></div>
    </div>
    ';
    }
    add_action( 'genesis_before', 'topnav' );
    
    January 27, 2013 at 1:06 pm in reply to: Dashboard Logo #15365
    manavecplan
    Member

    Almost have it nailed...the following code works. 🙂

    
    //ADMIN: Custom dashboard logo
    function custom_logo() {
    echo '
    <style type="text/css">
    #wp-admin-bar-wp-logo > .ab-item .ab-icon {
    background-image: url(http://www.cityslick.in/custom/img/dashboard-logo.png) !important;
    background-position: 0 0;
    }
    #wpadminbar #wp-admin-bar-wp-logo.hover > .ab-item .ab-icon {
    background-position: 0 0;
    }
    </style>
    ';
    }
    add_action('admin_head', 'custom_logo');
    
    

    The only niggle I have left is the size of the logo itself. For some reason, WordPress seems to be expanding my 20px x 20px logo to 30px x 30px. Hopefully, it's just a cache issue...

    January 27, 2013 at 9:35 am in reply to: Dashboard Logo #15298
    manavecplan
    Member

    Thanks for replying Anita!

    While you're absolutely correct in that the plugin you've mentioned customizes a lot more, I'm just looking to get the dashboard logo activated.

    The plugin has a ton of other code which I don't really need...and my rule of thumb is to minimize the plugins I load on any of my sites. 🙂

    I think the reason the logo doesn't display in the dashboard is because of where the png file has been saved...but I can't pinpoint the ideal location.

    As of now, my customisations are being run from a folder called 'custom' in the root.

    January 27, 2013 at 5:23 am in reply to: Navigation Justified #15263
    manavecplan
    Member

    Thanks for responding, John...

    When I try selecting each item via Firebug, I get

    .genesis-nav-menu a

    as a selector.

    I set it to

    width: 20%

    but nothing really happened.

    I even tried setting

    .genesis-nav-menu

    to

    width: 20%

    but no go.

    January 18, 2013 at 10:25 am in reply to: .js files #12872
    manavecplan
    Member

    Thanks Jen!

    My new code is as follows:


    function load_scripts() {
    wp_register_script('fokus', get_stylesheet_directory_uri(). '/js/fokus.js');
    wp_enqueue_script('fokus');
    }
    add_action('wp_enqueue_scripts', 'load_scripts');

    I don't see where I'm going wrong...now everything seems to be correct and it's still not being loaded as per my page source. And it's apparently childishly simple according to the example by the js dev...

    Still no cigar... 🙁

    January 17, 2013 at 4:00 pm in reply to: .js files #12734
    manavecplan
    Member

    Almost there, John.

    This is my current code:

    function load_scripts() {
    wp_register_script('fokus', get_template_directory_uri(). '/js/fokus.js');
    wp_enqueue_script('fokus');
    }
    add_action('wp_enqueue_scripts', 'load_scripts');

    However, it refuses to load from the js folder in my child theme. What am I doing wrong here?

    My site is: http://cityslick.in/ and the js is from https://github.com/hakimel/Fokus

    January 17, 2013 at 2:14 am in reply to: .js files #12580
    manavecplan
    Member

    Thanks so much John!

    Would the following be a valid example of using the enqueue script?

    <code>

    function ronald_load_scripts() {
    if ( ! is_admin() ) {
    wp_register_script( 'zoomPercent', get_template_directory_uri() . '/js/zoom.js', array( 'jquery' ) );
    wp_register_script( 'infiniteCarousel', get_template_directory_uri() . '/js/cursoule.js', array( 'jquery' ) );

    wp_enqueue_script( 'zoomPercent' );
    wp_enqueue_script( 'infiniteCarousel' );
    }
    }
    add_action( 'wp_enqueue_scripts', 'ronald_load_scripts' );</code>

  • Author
    Posts
Viewing 12 posts - 41 through 52 (of 52 total)
← 1 2 3
« 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