Len

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 51 total)
  • Author
    Posts
  • in reply to: How to make single post title link to itself #114729

    Len
    Participant
    Post count: 22

    I can’t speak to the SEO implications but to address the second part of your question see if this helps, http://w3guy.com/permalink-post-title-genesis/

    For reference you can check out LINE 195 at \wp-content\themes\genesis\lib\structure\post.php


    in reply to: Responsive Slider previous/next arrows #114726

    Len
    Participant
    Post count: 22

    Instead of targeting .genesis_responsive_slider try targeting .widget.genesis_responsive_slider


    in reply to: What's is new in Genesis 2.1.0 #112240

    Len
    Participant
    Post count: 22

    Hi awdesign,

    You can also get further info here … http://genesischangelog.com/

    The site is maintained by the amazing Gary Jones. (a Genesis dev)


    in reply to: Change Footer Widget Hover Color #108429

    Len
    Participant
    Post count: 22

    Hi Christy.

    Add to your style sheet …

    .footer-widgets a:hover {
    	color: #fff;
    }

    with #fff being the colour you want to use.


    in reply to: can't get my site title back! #108428

    Len
    Participant
    Post count: 22

    Hi Meredith.

    The sample theme (as do many of the other StudioPress themes) gives you the option of using a logo or dynamic text. Navigate to Genesis > Theme Settings and look at the meta box called Header. You should see a drop down menu offering you those two choices.


    in reply to: Why can't I get my post title to show on page? #108426

    Len
    Participant
    Post count: 22

    Hi Cam.

    That’s a new one! :) Okay, on single post pages the post titles use

    <h1 class="entry-title">

    So they are using the h1 tag with the .entry-title class. I then wandered over to your style sheet and found this …

    /* Headlines
    ------------------------------------------------------------ */
    
    h1 {
    	font-size: 1px; 
    	color: #fff;
    }

    That’s why you can’t see the post titles: they are only 1px and the same colour as the background.


    in reply to: Changing width for BlogNews Theme #106911

    Len
    Participant
    Post count: 22

    Hi Draceadan.

    If you want to change the width of the theme you need to change it in 3 different places:

    • .site-container
    • .footer-widgets .wrap
    • .site-footer .wrap

    Now, the width for the .site-container is currently defined in the style sheet as max-width: 1180px; Normally this is all you would need to change however if you take a peek in the functions.php file you’ll see that I moved both .site-footer and .footer-widgets out of the .site-container. Thus the width of .site-container doesn’t affect them because they don’t reside within .site-container.

    Actually both .site-footer and .footer-widgets span the full width of the page. If you apply a background colour to either one you’ll see what I mean. What I’ve done with both of those is create a wrap for each one and centered it which gives it the illusion they are both sitting within the .site-container.

    So, you need to adjust …

    .site-container {
    	background-color: #fff;
    	clear: both;
    	margin: 32px auto 0;
    	margin: 3.2rem auto 0;
    	max-width: 1180px;
    	overflow: hidden;
    	padding: 40px;
    	padding: 4rem;
    }

    and …

    .footer-widgets .wrap {
    	background: #3b5998 url(images/lines.png);
    	clear: both;
    	margin: 0 auto;
    	max-width: 1180px;
    	overflow: hidden;
    	padding: 40px;
    	padding: 4rem;
    }

    and …

    .site-footer .wrap {
    	background-color: #fff;
    	margin: 0 auto 32px;
    	margin: 0 auto 3.2rem;
    	max-width: 1180px;
    	overflow: hidden;
    	padding: 40px;
    	padding: 4rem;
    }

    Obviously after changing those you’ll need to do a bunch of fine tuning to get everything looking nice such as paddings/margins, content width vs sidebar width etc


    in reply to: Breadcrumbs Modification #104695

    Len
    Participant
    Post count: 22

    Hi manavvecplan,

    I put some feelers out on Twitter regarding the ‘home’ filter. Here is a method that integrates Font Awesome with the ‘home’ filter.

    http://www.alphablossom.com/replace-genesis-breadcrumbs-home-text-house-icon-image-using-genesis-filter-font-awesome-example-included/

    Of course you don’t have to use Font Awesome if you don’t want to – you can use any icon font such as Dashicons (which is already included with WordPress) or even Genericons.

    I thought Genesis filters out HTML from the ‘home’ filter but it doesn’t – but it does use esc_html() on link text according to @GaryJ

    Hope that helps.


    • This reply was modified 2 months, 2 weeks ago by  Len.
    • This reply was modified 2 months, 2 weeks ago by  Len.
    in reply to: Breadcrumbs Modification #104502

    Len
    Participant
    Post count: 22

    Hi manavvecplan,

    I posted the answer to your question on my site. To repeat it here for the benefit others,

    $args['sep'] = '<img src="'. get_bloginfo( 'stylesheet_directory' ) . '/images/sep.png">';

    This will call the image named sep.png in your child theme’s image folder and use it to output the separator rather than a character.

    With respect to the home filter I may be wrong but I believe Genesis strips out all HTML from that filter.


    in reply to: Creating a template for 410 errors #101461

    Len
    Participant
    Post count: 22

    Hi GermanKiwi,

    I don’t know if this is exactly what you are looking for but it’s an idea. You could use this plugin 410 for WordPress then create a 410.php template file to use in conjunction with it. This new template file could be as complex or simple as you want – even a slight variation of the Genesis standard 404.php file.


    in reply to: WordPress 3.8.2 messed up my Humphrey home page #99420

    Len
    Participant
    Post count: 22

    Hi Dale,

    Sorry about the trouble you’re having. I took a quick look at your site and everything looks normal to me. What did you have on your front page that isn’t there now? Or have you resolved this?

    BTW just a heads up, that theme has actually been retired for some time.


    in reply to: Remove default WordPress widgets #90499

    Len
    Participant
    Post count: 22

    Hi dogstalkpoetry.

    The 2nd method works only if the file is saved directly inside the mu-plugin folder (ie. no subdirectories.)

    Yep. That’s why I said “Add the plugin file from above to the mu-plugins folder.” Perhaps I should have clarified further but glad to see you have it working. :)


    in reply to: Remove default WordPress widgets #90248

    Len
    Participant
    Post count: 22

    Hi dogstalkpoetry.

    I’m not really up on the Prose theme because I’ve rarely used it but I think it has something to do with the fact it uses a special page for inputting custom php.

    I would just make a plugin out of it. Add this to the site’s plugin folder …

    <?php
    /*
    Plugin Name: Remove Calendar Widget
    Plugin URI: http://YourSite.com
    Description: Removes WordPress calendar widget from widgets page
    Author: Your Name
    Author URL: http://YourSite.com
    Version: 1.0
    */
    
    function remove_default_widgets() {
    	unregister_widget('WP_Widget_Calendar');
    }
    add_action('widgets_init', 'remove_default_widgets', 11);

    … and name it something descriptive like remove-calendar-widget.php

    When you activate it the widget should be gone.

    An alternative is to make it a MU Plugin. (must use plugin)

    Create a folder in the wp-content directory called mu-plugins. So the wp-content directory should now look like this …

    /wp-content
    /mu-plugins
    /plugins
    /themes
    /upgrade
    /uploads

    Add the plugin file from above to the mu-plugins folder. The advantage to this method is your new plugin doesn’t have to be manually activated – it is automatically activated. It can only be deactivated by deleting the file. It’s kind of foolproof if your dealing with clients.

    Let us know if it works for you.


    in reply to: Part of theme fails to translate when Child active #54058

    Len
    Participant
    Post count: 22

    Hi CJWilly,

    Issue #1
    If open the winfield.po file that resides in the child theme’s language folder with an editor like Poedit you’ll see the two strings “Next Article” and “Previous Article” are present. You just need to add your translations and save. Poedit will automatically create a .mo file which you need to rename as fr_FR.mo

    Issue #2
    The way the theme is coded is the home page is fully widgetized. You add content to it via widgets. If no widgets are active it automatically falls back to a standard blog type format. As soon as you add even one widget the new format takes over.


    in reply to: Part of theme fails to translate when Child active #54014

    Len
    Participant
    Post count: 22

    Hi CJWilly,

    I believe the issue has been rectified. If you’re interested in the juicy details …

    At about Line 70 of Winfield’s functions.php file you’ll see this,

    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter($post_meta) {
    if ( !is_page() ) {
        $post_meta = '[post_categories before="Filed Under: "] [post_tags before="Tagged With: "]';
        return $post_meta;
    }}

    That was removed as it is redundant. The only reason it was there is because I had planned to do something with it in the future but have since changed my mind. As it stands it was merely duplicating an already present Genesis function – worse yet, it was overriding it.

    With respect to the issue – the Next Article and Previous Article headings in single post navigation not translating, Lines 91 and 97 were not wrapped in a GetText function.

    echo 'Next Article';

    is now …

    echo (__( 'Next Article', 'winfield' ));

    and …

    echo 'Previous Article';

    is now …

    echo (__( 'Previous Article', 'winfield' ));

    Those strings are now present in the winfield po file. When you scan that file, add your translations and save it as your mo file the translations should show up.

    I tested it on both a local and a live site and it works. If there is still a problem let me know.

    The update is live on GitHub.


Viewing 15 posts - 1 through 15 (of 51 total)