Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Removing hooked actions

    #15196

    It probably means something like this:

    Take the graphene_widgets_init() function for example. It is added to the widgets_init action hook by this line:

    add_action( 'widgets_init', 'graphene_widgets_init' );

    Take note that since I didn’t explicitly specifies the priority in the above add_action call, the default priority of 10 is used.

    To remove it, you’d do something like this:

    function graphene_remove_widgets_init(){
    remove_action( 'widgets_init', 'graphene_widgets_init' );
    }
    add_action( 'widgets_init', 'graphene_remove_widgets_init', 20 );

    The priority of 20 above will cause the add_action hook to fire later than the theme’s add_action call, so it is executed after the theme has added the action hook.

    Admin

    In reply to: Removing hooked actions

    #15193

    When removing actions, the order of execution does not matter. This is because WordPress will not execute those actions until it has finished loading up all the files.

    When you’re using a child theme’s functions.php file to invoke the removal code, WordPress take that code and put it inside the proper queue. When the theme’s functions.php is run, and the original function is added to the action queue, WordPress will check if there’s any removal code for that function in the queue. If there is, the function won’t be executed.

    Admin

    In reply to: Make graphene_widgets_init pluggable

    #15192
    Admin
    Quote:
    Google love that kind of feature of a website. It will be a big points in the exposure of your site (SEO) and etc.

    I’m curious as to where you get this information…

    Besides, you can already achieve what you want using the Header Widget Area and the Text widget.

    Admin

    In reply to: White page when there are many sub pages

    #15166

    Your phpinfo file says that your memory limit is still 64MB. I’ll try to replicate this condition on my test server. In the mean time, what you can do is limit the child pages to be displayed per page to no more than the limit.

    Admin

    In reply to: Great Work Guys

    #15190

    You’re welcome, Rob!

    Admin

    In reply to: [BETA] Graphene 1.4b

    #15159

    That’s because WordPress automatically assigns the page’s excerpt as the description for the menu item. It is a very cumbersome feature. You need to edit the menu item’s description and put in a more reasonable length.

    I’ve added in a feature that automatically truncates the description length if it’s more than 50 characters.

    Admin

    In reply to: Questions about the slider

    #11612

    It seems like you’re using an older version of the theme. Newer versions will make it easier to achieve what you want, though it still involves creating a child theme.

    Admin

    In reply to: Getting "Not Found" At Bottom of Site

    #15186

    This happens when you’re using the front page “posts by category” option and all posts are sticky. Has been fixed in the upcoming version 1.4.

    Admin

    In reply to: Slider to show pages not posts?

    #15185

    Topic moved to the Support section. Please take some time to read the rules.

    As for your question, there’s been quite a few topics in this forum discussing about using pages in the slider. Just do a search and you’ll find some.

    Alternatively, wait for the upcoming 1.4 release which will make it far easier to add pages to the slider.

Viewing 10 posts - 4,691 through 4,700 (of 6,030 total)