Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
It probably means something like this:
Take the
graphene_widgets_init()function for example. It is added to thewidgets_initaction 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_actioncall, 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_actionhook to fire later than the theme’sadd_actioncall, so it is executed after the theme has added the action hook.Admin
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
The function is already pluggable. Please see this post: https://forum.graphene-theme.com/topic/make-function-graphene_ie_css3-pluggable#post-4721
Admin
In reply to: dislplay our contact number and contact address at the header part
July 12, 2011 at 11:16 pm #15169Quote: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
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
You’re welcome, Rob!
Admin
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
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
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
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.
