I built a website using the free version of a theme (Consultant from Flexithemes), and now I want to use the paid version I just bought. The free version has links in the footer to..questionable websites, so I want it gone. I received an email with instructions, to replace specific files. I tried Filezilla, but cannot connect to the host server (this is not necessarily the part I need to have solved). Another option would be to install the complete theme as a new one, but I’d rather not lose the edits I made to the theme.
I found the code editor in WP and tried replacing the code with the code in the files I was sent. However, it gives some errors that I don’t know how to fix. The errors refer to each other’s files, but WP won’t let me save them regardless so I’m stuck in a loop.
The final result of this mess is that my website is blocked and only displays “All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way.” I wouldn’t call links to websites promoting illegal substances family friendly.
The instructions:
Re-upload the following files from the unzipped links free version:
header.php (successful)
footer.php (successful)
functions.php (this one gives error)
lib/Themater.php (this one gives error)
lib/default-admin-options.php (if it exists in your theme)
Now, the links should be removed and you can completely customize your footer.
Error in Functions
Your PHP code changes were rolled back due to an error on line 614 of file wp-content/themes/Consultant/lib/Themater.php. Please fix and try saving again.
Uncaught Error: Call to undefined function wp_initialize_the_theme_load() in wp-content/themes/Consultant/lib/Themater.php:614
Stack trace:
#0 wp-content/themes/Consultant/page.php(32): get_sidebars()
#1 wp-includes/template-loader.php(106): include(‘/home/public/si…’)
#2 wp-blog-header.php(19): require_once(‘/home/public/si…’)
#3 index.php(17): require(‘/home/public/si…’)
#4 {main}
thrown
The line this error message is referring to:
if(!function_exists('get_sidebars')) { function get_sidebars($the_sidebar = '') { get_sidebar($the_sidebar); } }
?>
The error in Themater
Your PHP code changes were rolled back due to an error on line 263 of file wp-content/themes/Consultant/functions.php. Please fix and try saving again.
Uncaught Error: Call to undefined function wp_initialize_the_theme_message() in wp-content/themes/Consultant/functions.php:263
Stack trace:
#0 wp-content/themes/Consultant/functions.php(263): wp_initialize_the_theme_finish()
#1 wp-settings.php(508): include(‘/home/public/si…’)
#2 wp-config.php(90): require_once(‘/home/public/si…’)
#3 wp-load.php(37): require_once(‘/home/public/si…’)
#4 wp-blog-header.php(13): require_once(‘/home/public/si…’)
#5 index.php(17): require(‘/home/public/si…’)
#6 {main}
thrown
The line this error refers to:
It’s just a blank line. Though if I select it with my cursor it does highlight..somthing invisible? Here –>
This is the code surrounding it:
}
?>
There are 3 empty lines in between, forum shows only 1
I hope this explanation makes some sense. Thank you in advance for your help!
]]>I have a problem with the Facebook Like Box widget in the right sidebar. I have configured it but it is not showing.
The point is that in another WordPress installation that I have for test it does display:
https://gamerpc.es/ceipnuestropadrejesus/
This is a widget of this theme:
https://flexithemes.com/educationtime-wordpress-theme/
I have paid a premium account looking for support but they don’t answer my ticket.
Any idea? Thank you.
]]>I know the code that I need to use (and have in fact got it to work when I make the change on the parent theme’s file), but when I try to add the modified template file onto my child theme, nothing happens.
I’m assuming that the problem lies on how the widget file is called by the parent theme. Here’s the location of the file:
parenttheme/flexipanel/widget/posts.php
The parent’s functions.php file has this bit on it:
require_once TEMPLATEPATH . ‘/flexipanel/FlexiTheme.php’;
$theme = new FlexiTheme();
$theme->theme_name = ‘TheNews’;
Is there a way to overwrite that on my child theme? Because I’m assuming that’s the problem.
The /flexipanel/FlexiTheme.php file has a bunch of TEMPLATEPATH. lines too.
I’ve already tried to copy the entire ‘flexipanel’ folder (with the modified posts.php file) onto the root of my child theme and it didn’t work.
Any ideas what I should try next?
Thanks!
]]>2. Is there a collapsible Links menu widget that actually works? I have several links categories I really want organized like a menu or drop-down list on the sidebar that’ll offer all the links categories and expand them with a click or hover.
3. What widget makes those nice color boxes for block quotes or other info you want to highlight in a post?
4. What is the best Pull Quote widget?
5. Is anyone familiar with Flexithemes? If so, are all the themes configurable to 3 columns? Does anyone know how to reach them. They have not responded to email inquiries.
]]>1. How can I post something dated say, 5/10/07, and have it go directly to archives and related post categories without appearing on the front page? I’ve dozens of such items I’ve written around the web over the years I’d like to get on my own site now but don’t want them cluttering up the front.
I’ve already linked to them on a menu, then set up a links categories and redid it but neither really satisfies nor do I want to set up a page for them. I really want to post them directly to the blog to add content and increase SEO appeal without putting dated material up front. Any ideas?
2. Is there a collapsible Links menu widget that actually works? I have several links categories I really want organized like a menu or drop-down list on the sidebar that’ll offer all the categories and expand them with a click or hover.
3. What widget makes those nice color boxes for block quotes or other info you want to highlight in a post?
4. What is the best Pull Quote widget?
5. Is anyone familiar with Flexithemes? If so, are all the themes configurable to 3 columns? Does anyone know how to reach them. They have not responded to email inquiries.
]]>