my code

Pascal Bajorat

Remove Author form Network-Theme
by Pascal Bajorat

Remove the author below articles from the DRSUP Network-Theme:

1. Go to the desired Child-Theme folder, based in wp-content/themes/
2. Create a "functions.php" file if there is no corresponding file
3. Add the following code to the new "functions.php" or extend the existing file with this code (place it at the end and without the starting "<?php")

Snippet options

Download: Download snippet as remove-author-form-network-theme.php.
Copy snippet: For this you need a free my code account.
Embed code : You will find the embed code for this snippet at the end of the page, if you want to embed it into a website or a blog!

function networktheme_remove_parent_filter(){
	remove_filter('the_content', 'author_below_content', 1);
add_action('after_setup_theme', 'networktheme_remove_parent_filter');

Create a free my code account now.

my code is a free service, which allows you to save and manage code snippes of any kind and programming language. We provide many advantages for your daily work with code-snippets, also for your teamwork. Give it a try!

Find out more and register now

You can customize the height of iFrame-Codes as needed! You can find more infos in our API Reference for iframe Embeds.