There are 3 methods.
-
Somewhat weird but since this text is internationalized you can filter the output. This is just an example to remove the text, the link is still present in the source.
add_filter('gettext', 'remove_powered_by', 20, 3); function remove_powered_by( $translated_text, $untranslated_text, $domain ) { $custom_field_text="Proudly powered by %s"; if ( !is_admin() && $untranslated_text === $custom_field_text ) { return ''; } return $translated_text; }
-
Use jQuery (or javascript)
$('#site-generator').remove();
-
Create a child theme and just comment out the code or delete it.
Related Posts:
- Check php version before theme activation
- what is correct way to hook when update post
- How to Remove a Filter from the Admin List Table?
- Hooking new functions to actions + passing parameters
- Find variables available at a given hook
- Delete option value from array using update_option()
- action hook wp_head higher priority as all other plugins/hooks
- Remove an action hook within a Class
- How to pass arguments to add_action() or retrieve return value of called function?
- Contact Fom 7 – how to add custom HTML inside span.wpcf7-form-control-wrap AND IMMEDIATELY AFTER input.wpcf7-form-control?
- Set meta field to publish date + 2 weeks
- Adding widgets to my plugin page instead of WordPress dashboard
- Adding function to Genesis genesis_header [closed]
- Modify custom field input data before creating a new post
- Should `wp_login` be used since it’s deprecated?
- How to catch wordpress post ID when it’s published
- WordPress redirect redirecting too many times or not at all
- Can not add admin notices from the edit_user_profile_update hook (notices not being displayed)?
- How to pass hook variable to function?
- remove_action from parent theme using child theme functions.php
- Hooking into the HTML header container
- Get original value in save_post action hooka
- How do I remove an action hook inside a class that is called by another class?
- Hook into all password resets in WordPress and get password before hashing?
- WordPress HTML Helper
- calling a function from a class in your template
- How to add custom checkout field in user details mail template
- Cannot modify header information – headers already sent
- Is there a hook that I can use when a fatal error occurs?
- WordPress and event-driven programming – what is it about?
- Getting the action’s tag name within the action
- Permanently remove first image from posts
- Change the footer text on the login page
- reason of splitting theme files to multiple files
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- Can i check if user is doing any ajax request?
- Replace existing content from specific WooCommerce admin orders list column
- save_post vs post_updated
- How to trigger function on theme delete?
- Is possible dequeue/remove style from wp_footer() hook and add on wp_head() hook?
- WooCommerce: Add Payment Gateway Field to Webhooks [closed]
- Changing the template hierarchy
- How to Insert Shortcodes into Theme?
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- Execute Hook on the footer or header after activating a plugin
- How to call function at the bottom of post using plugin?
- Where would I place `wp_footer();`?
- Set WordPress Default Template
- Custom Theme, Custom shortcode not working
- Adding custom directory and PHP files in wordpress
- Is it acceptable to treat a filter like an action?
- Edit incorrect password message WordPress
- Connect WordPress with SharePoint [closed]
- adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again
- Move category description below post list in blog
- Woocommerce: hook action/filter I could use to add variation id and price with each attribute opt on WooCommerce Rest api
- Generating an nonce for Content Security Policy and all scripts – How to make it match/persist for each page load?
- Why does wp_head hook my functions to the beginning of my source code?
- Pass argument to event hook
- Showing latest post without 301 redirect
- Translate wordpress date from Italian to English
- Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)
- Add Different Actions To Different Page’s wp_footer
- Are there action hooks for comments?
- Why does the post_type_link hook everything twice?
- home.php show blog posts as grid view
- Adding function to child theme’s function.php
- Action Hook Inside WordPress Plugin Shortcode
- Amend theme php to include certain category in header
- Add a custom class to the body tag using custom fields
- Why doesn’t global $wp_query not get hooked?
- How can I assign separate stylesheets to different pages?
- how to get wordpress page url php code [duplicate]
- How do I add a function to parent theme
- Show full post instead of excerpt
- Commenting requires wordpress login, wordpress discussion and post comments tick boxes are checked
- Conditional Banners
- The style.php file inside theme-engine folder has other content on FTP
- How to override theme’s public static function inside of a trait?
- Register/enqueue scripts only on certain admin pages
- How to Change Site Elements based on referring URL
- how to use 2 index.php file One for mobile and one for desktop
- add_action in wp_head accessible from class
- loop to return tags in woocommerce in alphabetical order?
- wordpress form action page not found
- Use Custiomizer to setup meta theme color tag
- How can I move the posted-on date above the post and below the entry-header?
- Custom Theme, Editor won’t wrap text (i.e. change width)
- Post formating on Home page
- two wordpress sites, two themes, one database, same content
- Showing custom field contents without listing description
- Hide cart when empty [closed]
- How does add_action ‘comment_post’ work?
- how to register a second page-template
- Gallery requires a featured image but does not show it in posts/pages
- Link a lightbox thumbnail to a post instead of opening the lightbox
- a problem in class in class-wp-hook.php
- transition_post_status hook, works – but not if the post is new
- php was updated – critical error [closed]
- Woocommerce – add tracking code to another email template