Len

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 41 total)
  • Author
    Posts
  • in reply to: WordPress 3.8.2 messed up my Humphrey home page #99420

    Len
    Participant
    Post count: 10

    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: 10

    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: 10

    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: 10

    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: 10

    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.


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

    Len
    Participant
    Post count: 10

    Hi CJWilly,

    Just a note to let you know I’ll push out a fix some time today. I’ll post here when it’s done.


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

    Len
    Participant
    Post count: 10

    Hi CJWilly,

    It looks like a bug. It seems like I missed a couple of strings when generating the po file. I’ll have a look to see what’s going on when I get home.


    in reply to: Page Not Found Error #17021

    Len
    Participant
    Post count: 10
    in reply to: Widen sidebar on Humphrey child theme? #17020

    Len
    Participant
    Post count: 10

    Hi ohmichea,

    Actually I have pulled that theme out of retirement and have been working on bringing it up to current Genesis standards. It will be mobile responsive and have a wider layout. If you can hang in for a few more days. :)


    in reply to: Looking For Sample Child Theme CSS Guidance #13942

    Len
    Participant
    Post count: 10

    Hi RonnyMac,

    I was having this very discussion on Twitter a few hours ago. Initially I was like you. I didn’t care for the way the style sheet is now written. I released several child themes using the old style sheet and grew accustomed to it. But you know what? Now that I’ve had some time to study the new style sheet I really do like it.

    Yes, it will take some time to get used to. But the way it is now organized is much more efficient. For instance, rather than having the same font size defined in a dozen different places you’ll find them all in one spot. Font sizes grouped together. Font colours grouped together and so forth.

    Genesis aims to be lean and mean yet easily extensible. That same philosophy has been carried over to the CSS. While it seems like more work at the moment, give it a chance. I think you’ll grow to like it. :)


    in reply to: Reduce Title Font on Pages #5751

    Len
    Participant
    Post count: 10

    Hi beoleary1

    Look in the style sheet for this …

    h1,
    h2,
    h2 a,
    h2 a:visited {
    clear: both;
    font-size: 42px;
    margin: 0 0 20px;
    }


    in reply to: WordPress Backup #5108

    Len
    Participant
    Post count: 10

    Hi Tracy,

    Nope. The only one of their products I use is BackupBuddy. After researching various backup solutions I settled on that one. Well worth the money.


    in reply to: Header image not working #5106

    Len
    Participant
    Post count: 10

    Hi eachdaydeb,

    That’s why small images are normally used if you want it to repeat. With respect to your question about making it seamless, unfortunately graphic design is not one of my strong points. Hopefully someone else can chime in here.


    in reply to: Homepage teasers question #4416

    Len
    Participant
    Post count: 10

    Change …

    'feature_content_limit' => 300,

    to …

    'feature_content_limit' => 0,

    0 will return the full post.


    • This reply was modified 1 year, 4 months ago by  Len.
    • This reply was modified 1 year, 4 months ago by  Len.
    in reply to: Sponsorship boxes on sidebar #4412

    Len
    Participant
    Post count: 10

    Hi Ted,

    I haven’t looked but I’m sure there is more than one plugin in the WordPress Plugin Directory to set up ads. What you see on the Pretty demo site is simply a text widget.


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