Hello, i need your help for a migration of my wordpress from an ovh server to a viurtual machine for make a backup. I want to upgrade my server on debian 11 and the latest version of apache, php and mariadb. Actualy i have php 7.4.29 and wordpress 6.3.1 and MariaDB version 10.4.
So i tried to import my backup on my VM for testing my config before migration.
Error message after import database backup:
ArgumentCountError thrownToo few arguments to function WP_Widget::__construct(), 0 passed in /var/www/wordpress/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected
Thanks for your help
]]>Hi there,
Love this theme. It does great work for our league. However, with so many teams in our navigation, we’re looking to find a solution for a mobile menu that collapses the second and third level navigations. Any advice on how to implement?
Thanks,
Lauren
Hello
I found an issue in the function, I managed a website using wp fanzone theme and I always wondering why in the sub page we dont see a link to parent one.
I got the fix
you move sadly the echo out the foreach loop.
current is
========
} elseif (is_page()) {
if($post->post_parent){
$fanzone_act = get_post_ancestors( $post->ID );
$title = get_the_title();
foreach ( $fanzone_act as $fanzone_inherit ) {
$output = '<li><a href="'.get_permalink($fanzone_inherit).'" title="'.get_the_title($fanzone_inherit).'">'.get_the_title($fanzone_inherit).'</a></li> <li class="separator">/</li>';
}
echo $output;
========
Proposal fix is
=========
} elseif (is_page()) {
if($post->post_parent){
$fanzone_act = get_post_ancestors( $post->ID );
$title = get_the_title();
$output="";
foreach ( $fanzone_act as $fanzone_inherit ) {
$output = '<li><a href="'.get_permalink($fanzone_inherit).'" title="'.get_the_title($fanzone_inherit).'">'.get_the_title($fanzone_inherit).'</a></li> <li class="separator">/</li>' . $output;
}
echo $output;
to keep the ancestors order (would better to get back echo inside but need to reorder fanzone_act list before)
Karim
]]>Hello,
Since the last update of the Fanzone theme version 3.2, my site on WordPress 4.9.16 no longer opens. I have an error message here, (I put dots in place of the site info to be careful):
Fatal error: Uncaught Error: Call to undefined function wp_body_open() in /home/…./wp-content/themes/wp-fanzone/header.php:21 Stack trace: #0 /home/…../wp-includes/template.php(688): require_once() #1 /home/……../wp-includes/template.php(647): load_template(‘/home/……’, true) #2 /home/…/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/…./wp-content/themes/wp-fanzone/index.php(14): get_header() #4 /home/…../wp-includes/template-loader.php(74): include(‘/home/…….’) #5 /home/…../wp-blog-header.php(19): require_once(‘/home/…’) #6 /home/…./index.php(17): require(‘/home/……’) #7 {main} thrown in /home/……./wp-content/themes/wp-fanzone/header.php on line 21
Here is the beginning of the “header” file with line 21:
1 ?php
2 /**
3 * The header for our theme.
4 * Version 3.2
5 * Displays all of the <head> section and everything up till <div id=”content”>
6 *
7 * @package WP FanZone
8 */
9 ?><!DOCTYPE html>
10 <html <?php language_attributes(); ?>>
11 <head>
12 <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
13 <meta name=”viewport” content=”width=device-width, initial-scale=1″>
14 <link rel=”profile” href=”https://gmpg.org/xfn/11″>
15 <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
16
17 <?php wp_head(); ?>
18 </head>
19
20 <body <?php body_class(); ?>>
21 <?php wp_body_open(); ?>
22
23 <div id=”page” class=”hfeed site”>
24 <?php _e( ‘Passer au contenu’, ‘wp-fanzone’ ); ?>
There is only line 21 which was added during the update, the rest of the file was not modified.
Thanks in advance if you can find a solution. In the meantime I have removed line 21 from the “header” file, it works, I have access to my site. But hey, I would like to know what is going on anyway …
Thank you for your help.
Cordially
Laurent
Good evening
For sub-pages of the Home page, their breadcrumb contains a link to Home twice.
Ex.: Home / Home / Find us on the linked page.
Is there a way to remove the double Home or this no way to have sub-pages of the Home page?
]]>Good morning
I use a static home page for my site. In that case I find that “Home” appears way too often.
Can I remove the Title from the home page?
And can I remove the bread crumb, since you’re not going any further back than the Home page; and it’s a bit awkward since it is “Home / Home” !
Thanks,
]]>Good morning
I notice in your style.css (which is the last style sheet loaded) you override the font size for .fa (which is how you access Font Awesome icons):
.fa {
font-size: 14px;
}
So the settings from Font Awesome get overridden and if you use a multiplier to increase the size of the icon it doesn’t apply. So the fa-5x
in <i class="fa fa-bullhorn fa-5x" aria-hidden="true"></i>
ends up having no effect!
Why do you override Font Awesome? Is it possible to remove that so all of Font Awesome’s features are available.
Thanks
]]>Hello,
I’m using a WP Fan Zone child theme, and I’d like to make one little modification. My homepage is showing the last articles: they are displayed on 2 columns, only with an extract.
I’m looking how display them only in one column, as they are shown if I want to read a specific category.
Can somebody tell me how to do this?
Thanks in advance.
Marc
]]>I’m hoping someone can help me figure out why my menu items for other pages don’t appear when I’m not on those pages. If you hover them they appear but the plain link does’nt appear unless you are on that buttons page then it appears. Any assistance would be greatly appreciated.
]]>I am having an issue with the dropdown sub menus not staying open to click on the links. When you hover over the main menu item, it drops down the sub menu, but then when you move your mouse to click on a sub menu item, the dropdown menu disappears before you can click on anything.
Site: https://www.lakecitywire.com
Menu items: Classifieds, Jobs
I am currently using a child theme.
]]>Hi there,
I’m trying to hide the page titles of pages with CSS but nothing seems to work after following various tutorials online, some of the CSS I’ve tried entering are:
.entry-content h1 {
display: none;
}
h1.entry-title {
display: none;
}
h1.entry-title {
display: none; !important
}
I also tried replacing “entry-title” with “page-heading” for all these tests as that’s what comes up on the “view page source” for the heading itself.
I’ve also tried page specific CSS such as:
.post-123 .entry-title display: none;
and also with page-heading again:
.post-123 .page-heading display: none;
and both of these with !important. Nothing seems to work!
I’ve been putting the CSS into styles.css, but have also experimented with putting it into: functions.php, page.php, and content-page.php out of desperation, but nothing happens with all of them!
I’m using the latest version of wordpress and the latest version of WP Fanzone. Unfortunately the website is only on my localhost at the moment so I can’t link it.
Lastly I don’t want to use the “Hide title” plugin as this causes other problems for the website.
Thanks in advance for any of your help!
]]>install the theme but can’t show the full demo
]]>Hello! I am loving this theme and cant wait to get it finished and published. Thanks for the great work!
I customized my site with a dark background graphic and since the main body is transparent I couldnt see the dark grey text so I changed it to white. Almost worked. Now the blog post preview boxes on the front page are white background with white font. I would the main post font to be white and the preview boxes font to be black like at this page….https://www.gametacularnews.com/ but how? If its in the css I need to be pointed in the right direction please.
Also, how can I make the links from the Social Media icons open in a new window?
Thank you!
]]>Where can I change the theme WP Fanzone Copyright bottom of the page.
I miss a file and can not find out.
Can anyone help me with this.
I use WordPress 4.7.2 and WP 2.3 Fanzone Last version.
]]>Hello,
can you please help me with one problem.
When I write new post and put him on my site like short text all text is visible (beacuse white background), but when I opened my post all text inside is in grey color. According to my background picture I can’t see anything.
How can I change post color (or all other color) of text to (for example) white, so I can see my text in post clearly.
Where will the Featered Image been displayed?
I have selected an image as Featerd Image for a page, but I do not see it.
I would expect to see it somewhere in the top of the page, but it is not.
What can I do to display it under the menu bar?
Hans
]]>Hello,
I’m currently setting up my site and I’m having problems with two aspects. I am assigning categories to test posts that I create, however, these posts can only be seen in the menu that the category is referring to. I would like the post to be visible on the main page as well as the menu that it is categorized under, but I’m not sure how to do this. Also, I’m having a hard time trying to display posts like what is seen on the screenshot demo for WP Fanzone. I would like to have the preview of the blog as a box of text over the image associated with the post, and I would like to have a template for recent posts similar to what is seen in the same screenshot, but I’m also not sure how to edit my site to do this. Thanks for your help.
tailgatesportsentertainment.com
]]>Hello evrybody,
I would like to remove the possibility to jump to the next page (button at the bottom of the home page)
If somebody may help me …
Thanks
]]>/inc/widget.php
– Deprecated PHP4 style constructor are not supported since PHP7
I figure
function wp_fanzone_recent_posts() {
parent::__construct( 'wp_fanzone_recent_posts', $name = 'FanZone Recent Post' );
}
should be changed to:
function __construct() {
$this->wp_fanzone_recent_posts();
}
function wp_fanzone_recent_posts() {
parent::__construct( 'wp_fanzone_recent_posts', $name = 'FanZone Recent Post' );
}
]]>
Is there a way to make the logo the full width of my site. here is my site.
https://gopherfootballtalk.com/
I like to make this logo go the full width.
https://gopherfootballtalk.com/wp-content/uploads/2016/07/gophers-1.png
How is it possible. i did some searching and try everything and nothing work.
]]>I have not installed Fanzone yet. I have a query first. I would not like to always show my latest post on the home page. Instead I would like to choose myself which post appears where and change that only every now and then (not that it changes whenever I write a new post)
Is this possible?
Hi there. Just noticed this with the theme. I notice that the site title uses the H1 element, and you also use H1 for each post/page’s title. So in effect you are using H1 twice on every page. From what i recall about SEO guidelines you are only to use 1xH1 element.
For example, just now i checked Bing Search Guidelines and it specifically states this. I haven’t looked up the others.
My guess then to resolve this would be for the site title to move to a lower heading level but maintaining H1 for page/post title only?
Love to get your thoughts on this so i can update the theme code on my side.
Thanks
Kimberly
Hello,
Can you please let me know how to only post one category on the home page? We are trying to put just images in the slider so have created a new category to post images to the slider, but now they are also appearing as posts.
Also, can we change the slider from having the ‘post’ title appearing? Please see https://www.adelaidetitans.com.au
Thank you!
]]>I need some help to see all parents on breadcrumb;
Now I have this on functions.php
<em>//====================================Breadcrumbs=============================================================================================
function wp_fanzone_breadcrumb() {
global $post;
echo '<ul id="breadcrumbs">';
if (!is_home()) {
echo '
<li><a href="';
echo home_url();
echo '">';
echo 'Home';
echo '</li>
<li class="separator"> / ';
if (is_category() || is_single()) {
echo '
<li>';
the_category(' </li>
<li class="separator"> /
<li> ');
if (is_single()) {
echo '</li>
<li class="separator"> /
<li>';
the_title();
echo '</li>
';
}
} elseif (is_page()) {
if($post->post_parent){
$parents = get_post_ancestors( $post->ID );
$id = ($parents) ? $parents[count($parents)-1]: $post->ID;
$title = get_the_title();
foreach ( $parents as $ancestor ) {
$output = '
<li><a href="'.get_permalink($ancestor).'" title="'.get_the_title($ancestor).'">'.get_the_title($ancestor).'</a></li>
<li class="separator">/';
}
echo $output;
echo '<strong title="'.$title.'"> '.$title.'';
} else {
echo '
<li><strong> '.get_the_title().'</strong></li>
';
}
}
}
echo '';
}</em>
[Moderator note: Please wrap your code in backticks]
But in this way I can see only Home, another level and the page where I am…
Anyone can help to solve?
Thanks a lot in advance.
]]>Is there a way I can adjust the image size of the featured images in the Archives section? Most the images now are not re-sized to the 400×200 that the template has set.
]]>I love this theme but problem is that on mobile and other devices the menu is not showing. Only three bars (horizontal) but inactive.
Please help thanks
site is Viralbong.com
]]>What is the required size of featured image. I am trying to add to posts but it never adds it. I tried multiple dimension and size options.
]]>Hi – I’m relatively new to this… how do I add pictures to the main page?
Also – how do I change the font color on the different pages?
]]>When I added my first post and set the featured Image, the slider appears as expected. However, it is adding extra characters on the page below the slider image. I have included a link below to show the extra characters.
If I add a second post and set a featured image, the entire page layout gets distorted and is unreadable. The link below shows what is displayed just below the slider.
]]>Hi Everbody,
To do I made a wordpress website with this thema.
I also design a background in Photoshop.
With a up banner en 2 side banners out-side off the text area.
But in some browsers the cut-off the side banners. So you don’t can see the complet side image.
How can I disable this?
So that you can see the whole background.
In google chrome windows not but in al the others browser yes.
]]>