Skip Navigation

[Resolved] Footer created with Elementor not showing on achieve page

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Jamal 3 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#2154477
ele-footer.png
default -footer.png

I have created a custom post type 'Consultancy' and designed a footer template using Elementor,
the footer is showing on all of the pages except for the 'Consultancy' archive page

Site URL : hidden link

Consultancy Post Archive : hidden link

#2154495

The Elementor designed footer even appears on Single Consultancy page as well

URL : hidden link

#2154777

Hello and thank you for contacting Toolset support.

This seems like a new compatibility issue that has been introduced in a late version, either on Elementor side or on our side. To confirm it and escalate it to the developers, we'll need to reproduce it on a clean install. I have created a new install here hidden link
Please install Elementor plugins and reproduce this issue. If it is reproduced, I'll escalate it to our developers.

If it is not reproducible on a clean install, then, we can consider it an exception that appears only on your website, and we'll need to take a copy of your website to debug it. Let me know if you would be ok with that.

#2154923

I have installed Elementor, created a template footer using elementor ;
Also created Consultancy post type but can't reproduce the issue there , footer is appearing everywhere even on cosultancy archieve page

URL : hidden link

Single URL: hidden link

#2155293

It seems that this is somehow caused by the theme, but I could not find where. For example, if we remove the custom code in the child's theme functions.php file, the footer is different on the consultancy archive page. It is not fixed, but It is different. So, I assume it has something to do with the theme. Can you check with a default theme(Twenty Twenty-one)?

I also need to perform different tests on the site(deactivating plugins, etc.) I wonder if you can provide a staging site or let me take a copy of your website and check it on my local setup?

#2155473

u can take a copy and do anything on ur local setup

#2156163

I took the copy and worked on it locally, and the issue is not from Toolset at all. It is rather from the integration between Elementor and the The7 theme.

Why is it not related to Toolset at all? Because, even if you deactivate the Toolset plugins and you register a custom post type with code, the issue will be reproducible for that custom post type too. The footer will be added to single post pages, but it will not be added to the post type archive. You can check with this custom post type, in the theme's functions.php file:

// Register Custom Post Type
function car_post_type() {

	$labels = array(
		'name'                  => _x( 'Cars', 'Post Type General Name', 'text_domain' ),
		'singular_name'         => _x( 'Car', 'Post Type Singular Name', 'text_domain' ),
		'menu_name'             => __( 'Cars', 'text_domain' ),
		'name_admin_bar'        => __( 'Car', 'text_domain' ),
		'archives'              => __( 'Item Archives', 'text_domain' ),
		'attributes'            => __( 'Item Attributes', 'text_domain' ),
		'parent_item_colon'     => __( 'Parent Item:', 'text_domain' ),
		'all_items'             => __( 'All Items', 'text_domain' ),
		'add_new_item'          => __( 'Add New Item', 'text_domain' ),
		'add_new'               => __( 'Add New', 'text_domain' ),
		'new_item'              => __( 'New Item', 'text_domain' ),
		'edit_item'             => __( 'Edit Item', 'text_domain' ),
		'update_item'           => __( 'Update Item', 'text_domain' ),
		'view_item'             => __( 'View Item', 'text_domain' ),
		'view_items'            => __( 'View Items', 'text_domain' ),
		'search_items'          => __( 'Search Item', 'text_domain' ),
		'not_found'             => __( 'Not found', 'text_domain' ),
		'not_found_in_trash'    => __( 'Not found in Trash', 'text_domain' ),
		'featured_image'        => __( 'Featured Image', 'text_domain' ),
		'set_featured_image'    => __( 'Set featured image', 'text_domain' ),
		'remove_featured_image' => __( 'Remove featured image', 'text_domain' ),
		'use_featured_image'    => __( 'Use as featured image', 'text_domain' ),
		'insert_into_item'      => __( 'Insert into item', 'text_domain' ),
		'uploaded_to_this_item' => __( 'Uploaded to this item', 'text_domain' ),
		'items_list'            => __( 'Items list', 'text_domain' ),
		'items_list_navigation' => __( 'Items list navigation', 'text_domain' ),
		'filter_items_list'     => __( 'Filter items list', 'text_domain' ),
	);
	$args = array(
		'label'                 => __( 'Car', 'text_domain' ),
		'description'           => __( 'Car type.', 'text_domain' ),
		'labels'                => $labels,
		'supports'              => array( 'title', 'editor', 'thumbnail', 'comments', 'revisions' ),
		'hierarchical'          => false,
		'public'                => true,
		'show_ui'               => true,
		'show_in_menu'          => true,
		'menu_position'         => 5,
		'show_in_admin_bar'     => true,
		'show_in_nav_menus'     => true,
		'can_export'            => true,
		'has_archive'           => true,
		'exclude_from_search'   => false,
		'publicly_queryable'    => true,
		'capability_type'       => 'page',
	);
	register_post_type( 'car', $args );

}
add_action( 'init', 'car_post_type', 0 );

Why is it happening in the integration with Elementor and the The7 theme? Because it does not happen with a default theme such as Twenty Twenty One. If you activate it, you will see that the footer is added to the post type archive.

As much as I would like to assist you with this issue, I am afraid I can't help any further. I suggest that you reach to The7 theme's support or the Elementor support teams for assistance on this issue.

If you are getting 404 errors during your tests, save the permalinks again in Settings->Permalinks