I am using Font Awesome on my theme. wp_enqueue_style('fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'); I am using another plugin that uses Font Awesome, but its using an old version. wp_enqueue_style( 'fontawesome', '//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css', array(),...
  • May 12, 2022
  • 0 Comments
Is there anyway to load a custom style in specific taxonomy pages? for example these two pages: wp-admin/edit-tags.php?taxonomy=news-category&post_type=news wp-admin/term.php?taxonomy=news-category&.. I added a style to admin but other pager got...
  • May 11, 2022
  • 0 Comments
I’m wondering what can I or should I NOT hook to after_setup_theme? I’m wondering because I have been told that I shouldn’t hook wp_enqueue_style to it, but I have...
  • May 11, 2022
  • 0 Comments
According to the codex, when creating a child theme, you have to manually enqueue the parent theme’s scripts. My parent theme has logic to conditionally display various css files,...
  • May 10, 2022
  • 0 Comments
I have a form where i would like to add a datetimepicker(). I must be doing something wrong. I have done the following: In my header.php <?php wp_enqueue_script("jquery"); ?>...
  • May 10, 2022
  • 0 Comments
I am creating a child theme. I noticed my parent theme is adding some inline CSS in its functions.php: wp_add_inline_style( 'persona-style-css', $custom_css ); Since I cannot change some values...
  • May 8, 2022
  • 0 Comments