Yup, @s_ha_dum hit the nail on the head. The theme calls the function in a few places. Removing all of those function calls should fix any fatal errors you’re having.
On line 28 of index.php you’ll see how the Twentytwelve theme goes about utilizing the function. Search other files like category.php, author.php, archives.php, search.php and tag.php to make sure you’ll catch all of them.
Related Posts:
- wp_enqueue_script was called incorrectly
- Add multiple custom fields to the general settings page
- Is it possible to remove the “standard” post format?
- Woocommerce add to simple product attribute programmatically [closed]
- Issue with get_theme_mod returning a blank value instead of the saved value
- How to remove row-actions from pages table?
- Modify search function in WordPress (TwentyTwelve)
- How to customize search result page title?
- How to display error messages using WP_Error class?
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- How to fix a theme with page.php Default Template that accidentally deleted?
- Removing Unnecessary Text from Admin Menu without CSS
- Display WordPress Search
- How do I change parameters without changing the core
- Problem with extract() with custom shortcode
- How to add a rel attribute to images that contains their categories?
- add sidebar area to header of child theme
- Preferred Use of home_url()?
- Custom function for user register in wp?
- Functions.php reverted to new one
- Creating loop within functions.php
- Refactor create_function
- adding custom classes for tables
- Pass Shortcode Attribute to footer Script
- Customizer field value into functions.php variable
- How Can I Expand the WordPress Customize window without any Plugin?
- wp_dropdown_categories and custom attribute
- Automatically wrap multiple images in div
- Ajax not working properly
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- How to customly read JWPlayer’s “Playlist” items by using its “playlistid”?
- Include default functions and methods
- Hard-coding custom menu elements for menu manager
- Twentyten Child Theme: header images display messed up in admin panel
- How can I modify all existing tags while keeping the urls themselves?
- IF Statement on Button to make it complete and “uncomplete” based on user action / click
- Gravity Forms Button Text
- Find resources dynamically loading and change or add to the url
- When sale price is 0.00 show only regular price
- Unable to login using username
- Parse error after modifying the template menu [closed]
- Move Custom Fields on General Settings Page to New Location
- Need help getting a function to function
- different style sheet for just one page template
- Condition OR for current user ID
- How to retrieve the current post’s generated featured image size?
- Custom Behavior when Adding New Custom Post Type in Dashboard
- Where do I store custom functions that call custom page template files?
- Why There Is No “get content by ID” Function
- Wp-query Order By problem
- Create custom function for hero image
- Randomizing wp_tag_cloud() in child theme
- login_headertitle is deprecated since version 5.2.0
- How to append classname to body tag if guest user
- Where do I go to edit this area? [closed]
- Replace plugin function with a custom function?
- Different favicon on different pages
- Problem with images URL after filter applying
- Function to replace comment’s accented characters before posting
- How to echo Widget Title in Custom Frontend-Template Box
- how to display a page before the home page
- loginout function customization
- Show errormessages on wrong username/password on custom loginform?
- Problems with functions.php! Error! [closed]
- implementing a centralized content “show-do-not-show” toggle?
- Looking for Functions File that doesn’t Exist
- How would I make a function to dynamically determine if user is logged to change navigation menu text?
- How to display this meta data (an array) in form of a function (created with a custom write panel)?
- WordPress – using sessions?
- functions.php pharse error on complete new install
- How to replace ACTION url from original wordpress login form?
- Save_post – Warning: Cannot modify header information
- How to use WP conditional tag in a functions.php with OCEANWP Theme?
- Modifying a WordPress Plugin
- CF7 select value get to function and reciept value from function
- External api call and make global variable for any page visitor enters , page-home, page, single etc
- CSS style and app.js not loading
- Parent category as WOOCommerce Categories widget title
- Extend WordPress Audio Widget to accept HLS (.m3u8) URLs
- Woocommerce custom calculation function
- Remove all video attachment, both files and post/postmeta from database?
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- MCAPI.class.php showing some error
- Replace image attributes for lazyload plugin on image elements with specific class
- How to make an If Else on Excerpt Filter
- Translation Function missing text-domain [closed]
- What is wrong with functions.php? Fills error log with same error
- Random text changing to weird icons in both admin & front end
- jQuery HoverIntent is not a function
- How to request login for user but not for bots
- functions.php / replacing div’s with new ones?
- Post variables not displaying correctly in custom function
- Remove snippets of JS from core
- Notice: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ in ….functions.php on line 73
- Explode Array from Repeatable Custom Field
- How to fix enqueue_styles error for a twenty-seventeen childtheme
- How to crop image in WordPress with aspect ratio for any size of image
- Logout redirect via page template without confirmation?
- Customizer cuistom CSS Priority ordre Issue
- Copy and Modified WooCommerce function is_coupon_valid [closed]