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:
- Display random categories on the front page (Finding and Editing Theme Functions)
- Is it possible to remove the “standard” post format?
- opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
- Modify search function in WordPress (TwentyTwelve)
- How to customize search result page title?
- How to display error messages using WP_Error class?
- Removing Unnecessary Text from Admin Menu without CSS
- Set default options for inserting media
- Default or Preset Content for Custom Post Types
- Remove tag on my RSS Feed
- Display WordPress Search
- Remove Menu Page Giving Error
- How to add a rel attribute to images that contains their categories?
- Preferred Use of home_url()?
- Custom function for user register in wp?
- Functions.php reverted to new one
- Delete pages and Create default pages for all new network sites
- Actions according to image type and size
- Post thumbnail relative link and HTML modify
- Refactor create_function
- Why is my Gutenberg block returning an error after initial save?
- How would go about if I just want a temporary function?
- Remove the deleted users avatar from list
- How to call custom function from functions.php in site-wide template files?
- Customizer field value into functions.php variable
- Debugging with functions.php
- str_replace function in theme
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- Right way to update widget on dynamic new input field
- 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
- 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
- Word Press – Dynamic Content [closed]
- Warning: : DOMDocument::loadHTML(): Empty string supplied as input in functions.php when adding classes to post images
- Insert image in WordPress with HTML5 tag and caption function
- how can I just add to parent theme function(s) instead of redeclaring whole the function
- Parse error after modifying the template menu [closed]
- Move Custom Fields on General Settings Page to New Location
- Skeleton Child Theme Add Icon Bar to Header Flex Grid
- help I changed one currency in woocommerce and everything is ruined [closed]
- Need help getting a function to function
- Connecting to a 2nd DB gives me no results when querying
- Custom HTML markup
- Functions Error: Impacting Galleries
- Use a shortcode to display custom meta box contents
- Create custom function for hero image
- How to append classname to body tag if guest user
- Where do I go to edit this area? [closed]
- The_content and Preg_replace in loaded Iframe [closed]
- two search forms on the same page
- Function to replace comment’s accented characters before posting
- New checkbox in custom widget isn’t saving data
- Linking Javascript in functions.php file
- Strange error from functions.php files (wp_register_script)
- Function to check if custom page is used by page?
- Looking for Functions File that doesn’t Exist
- How to replace ACTION url from original wordpress login form?
- Header menu aligned right on all pages except for single-post page [closed]
- How to use WP conditional tag in a functions.php with OCEANWP Theme?
- Modifying a WordPress Plugin
- Hide author info in single posts by certain users
- 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
- Shortcode to insert default text and change one word throughout it?
- I want to customize the_posts_navigation function by replacing prev and next with images
- “Conditional query tags do not work before the query is run. Before > then, they always return false. “
- How would I correctly implement a new if statement in a child functions file?
- Remove all video attachment, both files and post/postmeta from database?
- MCAPI.class.php showing some error
- True email confirmation for registration (keeping unvalidated users from user table)
- I’m getting invalid taxonomy in init action
- Adding A New Widget to WordPress Disables the Existing Widgets
- How To Show Shortcodes In WordPress Custom Fields?
- How do I integrate my Child Theme into a Custom Template?
- Shortcode to eliminate and replace with
- custom post with loading script per single post
- jQuery HoverIntent is not a function
- create submenu page – error function not found or invalid function name
- Get Value of Custom Field
- restrict access to specific urls on a specific period of time
- child_of not working while searching
- How to request login for user but not for bots
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- Woocommerce – Checkout error message
- Removing Facebook contact field from user contact not working
- How do I add functionality to images?
- Problem with removing characters “<” – WpAllImport
- How to crop image in WordPress with aspect ratio for any size of image
- multible shortcodes (for differnt values) with one function
- Logout redirect via page template without confirmation?
- Convert Image to Webp on upload without plugin
- Customizer cuistom CSS Priority ordre Issue
- Copy and Modified WooCommerce function is_coupon_valid [closed]