racl101 + hook   50

WordPress › Support » WP Nav Menu Dissapears in Category Pages!
Solution for how to fix weird bug when using the 'pre_get_posts' filter hook to allow custom post type posts to show up in category.php template listings alongside regular posts, it causes the wordpress menus to not show up.
hook  filter  Github  nav  Howto  Pre_get_posts  Gist  WordPress  Fix  Menu  wp_nav_menu  customposttypes 
november 2015 by racl101
Show custom post types on tag, category and archive pages in Wordpress
Solution for how to fix weird bug when using the 'pre_get_posts' filter hook to allow custom post type posts to show up in category.php template listings alongside regular posts, it causes the wordpress menus to not show up.
hook  filter  Github  nav  Howto  Pre_get_posts  Gist  WordPress  Fix  Menu  wp_nav_menu  customposttypes 
november 2015 by racl101
theme development - Where is default wp_head() implemented? - WordPress Answers
Neat example of how to modify output of rel canonical tag for your own use. Did this with ISMS website.
Seo  wordpress.stackexchange  wordpress  canonical  remove_action  hook  howto  Action  Rel  wp_head  example 
february 2014 by racl101
Plugin API/Action Reference/init « WordPress Codex
If you need to call wp_redirect and avoid 'Headers already sent' errors, have your plugin use this hook
redirect  $_get  header  Tutorial  wp_redirect  Plugin  $_POST  action  hook  WordPress  Reference  Guide  init 
may 2013 by racl101
Your source for everything WordPress | Search for functions, methods, actions, filters and more
Excellent Wordpress function/hook/ database. Best presentation considering WP's shitty function/hook reference.
search  code  wordpress  reference  database  hook  function 
april 2010 by racl101

related tags

$_get  $_POST  action  actionhook  activate  Active  Add  add_action  add_filter  admin  admin_print_scripts  after  ajax  android  android-manifest  api  bash  before  blog  body  body_class  boxfile  build  button  callback  canonical  case  change  Class  code  codex  commit  community  contactform7  content  control  cp_js_end  cp_menu_array  custom  customposttypes  database  deploy  deployment  design  development  documentation  dynamic  ee2  example  excerpt_length  expressionengine  extension  extensons  extenstion  fields  File  filter  filterhook  Fix  forms  forum  function  gform_pre_render  gform_pre_submission  gform_submit_button  gform_validation  Gist  git  gitbook  Githook  github  graphic  gravity  gravityforms  guide  header  hook  hooks  howto  HTML  init  javascript  library  Link  loading  manager  manifest  manual  member  member_manager  menu  module  nav  navigation  object  pagodabox  pagodaboxv2  panel  plugin  Plugins  populating  post-update  Pre  pre-commit  Pre_get_posts  priority  progit  programming  publish  python  REdcap  redirect  reference  register  Rel  Remove  remove_action  resources  scm  script  search  Seo  SEO  sidebar  Slug  stackexchange  stackoverflow  Stripe  Stripeaddon  style  submission  submit  support  template  template_include  theme  the_content  title  tutorial  validation  value  versioncontrol  website  widget  wordpress  wordpress.stackexchange  wpadmin  wp_head  wp_nav_menu  WP_print_scripts  wp_redirect  yoast 

Copy this bookmark:



description:


tags: