$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>How to remove the footer from a theme|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

How to remove the footer from a theme

matteradmin11PV0评论

I am new to wordpress and I just install version 5.0.3and I installed Consult theme.

At the button of page,I am getting this message:

The-Consult By Themeruler.

How can I remove it from the pages?

I am new to wordpress and I just install version 5.0.3and I installed Consult theme.

At the button of page,I am getting this message:

The-Consult By Themeruler.

How can I remove it from the pages?

Share Improve this question asked Jan 15, 2019 at 22:32 mansmans 101
Add a comment  | 

2 Answers 2

Reset to default 1

There probably isn't a simple button you can push (unless there's a special one the theme developer created), but it can most likely be done via some basic theme tweaking.

First, make a child theme. There are lots of tutorials about how to do that.

Second, modify the child theme. Two options for this:

  • hide the message via CSS: Find the CSS class for some enclosing HTML tag (there are several ways to determine that), and hide it via a CSS display:none. One drawback is that there's a risk Google might be unhappy with the page hiding things.
  • customize the footer: Copy footer.php from the parent theme to the child theme. Edit the copy and remove the text you don't want, plus perhaps any enclosing now-empty HTML tags. One drawback is that if you later install an updated version of the parent theme, the child theme will still be using a modified version of the old footer.

Also, the generic WordPress themes have a similar footer message, which many people want to remove. So a web search for 'remove proudly powered by WordPress' should find lots of tutorials. Your situation is probably almost the same.

There are a million ways to do this but this is the easiest.

In the admin, go to Appearance > Custimize > Additional CSS and add the following CSS, then hit publish.

.footer_btm_left {display: none;}

Refresh your site and that text should be gone.

Note: This will remove the text but leave the black box empty. If you want to remove the entire black box add the following CSS.

.site-info {display: none;}

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far