Support » Theme: Oenology » remove the tags,permalink,shortlink

  • Resolved etimbuk


    i would like to remove the tags,permalink,shortlink, from showing on all post/page and home page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Chip Bennett


    Hi etimbuk,

    The easiest way to remove all of the post header content is via filter. Add the following to the functions.php file of a Child Theme:

    add_filter( 'oenology_hook_post_header_metadata', __return_false() );

    To see where this filter is defined, look in functions/hooks.php, on Lines 931-969.

    I have added
    add_filter( 'oenology_hook_post_header_metadata', __return_false() );
    in the file functions.php at the end. but it is not working am getting the following error
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/intervie/public_html/wp-includes/plugin.php on line 192

    Warning: implode() [function.implode]: Invalid arguments passed in /home/intervie/public_html/wp-content/themes/oenology/functions/hooks.php on line 968

    Can you please tell, if it still works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove the tags,permalink,shortlink’ is closed to new replies.