Search Results for 'page template'

Results from the Forum
Simion C.
tagDiv Staff

Hi,

The mobile front page is defined in a file, this file
https://www.screencast.com/t/u3J3zLfbC
All the other mobile pages you create have a different template
https://www.screencast.com/t/ZGbi1EU86
So if you were to copy the grid shortcode in the normal page file, the rid will appear on all the mobile pages
https://www.screencast.com/t/0eLkM30utp
Note that this grid is supposed to display only in the mobile front page, you can test and see if there are any problems.

Thanks

urza07
Participant
#0

I have three licenses for newspaper, in one is working fine, but, in the other installation after the update tagDiv Composer, tagDiv Social Counter, tagDiv AMP, and tagDiv Newsletter are disabled, but when i try to activate them back there is a brief warning about the activation and it disappears, i tried to reactivate them after disabling all other plugins but it gives me the same error. in the front page shows the following errors:

wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_top_bar_template_1 is not set.
/home1/tiodesi1/public_html/ecv/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace
wp_booster error:
td_api_base::get_key : a component with the ID: tdm_top_bar_template_1 Key: file is not set.
/home1/tiodesi1/public_html/ecv/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace
wp_booster error:
The path of the template id: tdm_top_bar_template_1 not found.
/home1/tiodesi1/public_html/ecv/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
Display backtrace
I re-uploaded the whole folder to no avail, what might be happening?

Simion C.
tagDiv Staff

Maybe you have a background color set for the menu in the theme panel
https://www.screencast.com/t/rBFHdPY8dNu9
We will try to maybe modify this overlay menu in the future, so you can for example have a background color for the menu set but when this template is used it will force it to be transparent for that page.

Jose
tagDiv Member

Hello @Simion C.

Wow, now Now it’s working perfectly, it’s just what I wanted.

Thank you very much for your help 🙂

About this other code:

.td-post-template-5 .td-post-header .entry-title{
text-align:center;
}
.single h2 {
color:red!important;
}

How can I make it work on AMP pages? Well, I don’t know if it’s possible, maybe it’s not allowed in AMP.

Have a nice day! Jose from Spain.

PD. It might be a good suggestion to create your own text editor for the theme? Is only a idea

Simion C.
tagDiv Staff

Hi,

Glad it worked. The transparent header can be achieved by selecting the overlay menu page template
https://www.screencast.com/t/hIueDdEK
Then the header will be transparent and overlay at the top of the page.

Thanks

Simion C.
tagDiv Staff

Hi,

When enabled the whole website should change, not just a few pages. That means it is not working correctly. There will be one template used for all posts, category pages, etc regardless of what is used or selected on desktop.
The mobile theme and also main theme may not work properly with the Cloudflare rocket loader I see you use. Try disabling that feature and check again.

Simion C.
tagDiv Staff

Hi,

I see you have used the flex block in the page. Note that this block can be configured as you want by device. So for example if you want to display 3 modules per as you do now, it will look good on desktop. But on mobile it will not, so display fewer modules per row on mobile
https://www.screencast.com/t/23hFY2P2
https://www.screencast.com/t/RPlZLr9Ljzc
One module per row would be suited for mobile.

The page template you are using is the overlay template, this will position the header over the page content, in this case over the slider. This template would not be the best to use if you want to display a slide below the header. These are some demos that use it, that is how it should be used if possible
https://demo.tagdiv.com/newspaper_spa/
https://demo.tagdiv.com/newspaper_smart_app/
https://demo.tagdiv.com/newspaper_construction/
In your case it would be like this, with no background color
https://www.screencast.com/t/b5PoXxMK

You should consider changing the page template for better results
https://www.screencast.com/t/1cMUKPafR

Thanks

Bogdan B.
tagDiv Staff

Hello,

Sorry but there is no tutorial at the moment for landing pages. You have to use the multi-purpose elements from the tagdiv composer.
First, you can use a blank page template: https://www.screencast.com/t/vhw5VqKcp so your page will not show the header or footer. Then you can start building your page with the tagdiv. These few videos should help:

Thanks.

Bogdan B.
tagDiv Staff

Hello,

The page title comes from the page template used on your pages. Please check this guide for more information: https://forum.tagdiv.com/page-templates-2/

Thank you!

Bogdan B.
tagDiv Staff

Hello,

In order to remove the author names from your site, please remove it from here for posts:
https://www.screencast.com/t/xpiMElDd and from here for pages and other templates:
https://www.screencast.com/t/P7P68nis

As for the second issue, the subfooter cannot be changed for specific pages. The setting from the theme panel affects the entire website

Thank you!

Simion C.
tagDiv Staff

So you want the post tags to appear there. That is not possible at the moment. In the coming theme updates there will be options to position the post elements differently in the post page. So for example placing the post tags below the post title will be an easy task.

If you want to do that now, you will have to make modifications to the post template file and maybe some additional CSS. These are some similar topics
https://forum.tagdiv.com/topic/post-tags-over-the-post/
https://forum.tagdiv.com/topic/move-date-and-time-from-top-to-bottom-article/

AntoineVerdier
Participant
Taxonomy - topic
#0

Hi,

I have added new taxonomies.
I have noticed you can choose an article display view in custom taxonomies.
The problem is that you have one template for all the taxonomies.
How can I build a page with a dedicated template for a taxonomy?
Thank you

FernandoTWE
tagDiv Member

The problem is when you use a template in the page editor “pagebuilder + latest articles + pagination” The rest of the templates correctly take the goals thrown by Yoast

ctoweett
tagDiv Member

Find the 404.php file inside the Newspaper theme and remove this code (preferably in a child theme not to lose the changes with the theme update).

<h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS', TD_THEME_NAME)?></span></h4> <?php

                $args = array(
                    'post_type'=> 'post',
                    'showposts' => 6
                );
                query_posts($args);

                $td_loop_block_module = td_util::get_option('tds_404_page_layout');
                //$td_loop_block_module

                locate_template('loop.php', true);
                //get_template_part('category', 'slider');
                wp_reset_query();

                ?>
Pierreto
tagDiv Member

And today many plugin give schema, i have YASR schema (blog posting), Newspaper schema (article) and in some page, recipe schema.

It can be a good idea to have an option in template :

use newspaper schema or no

codyhulk
Participant
#0

According to the Sucuri site scanner the Spam SEO content is the following:

Code:
<body class=”archive category category-reward category-71 global-block-template-1 td-blog-travel td_category_template_4 td_category_top_posts_style_5 wpb-js-composer js-comp-ver-4.11.2 vc_responsive td-animation-stack-type0 td-full-layout” itemscope=”itemscope” itemtype=”https://schema.org/WebPage”><div style=”position:absolute;top:0;left:-9999px;”>
All for Joomla
All for Webmasters
</div>

You can verify that opening the page https://www.luxurylifestyle.co/category/reward/ for example and inspect the code via Chrome or FireFox:

The theme template Newspaper is loading the malicious SEO script. You will need to check all the theme files or reinstall it.

Catalin
tagDiv Staff

Hello Mercuriel,

I saw that you are using the Page Template+Latest Articles+Pagination. You should change this page template to Default, for example, if you want to create your all homepage with TD Composer.

Thanks for your understanding!

Bogdan B.
tagDiv Staff

Hello,

The slider can only be added into pages or posts. The category templates cannot be edited with the tagdiv composer so you cannot add shortcodes to them except with custom php code if you are comfortable altering php files. You can use a do_shortcode function:
https://developer.wordpress.org/reference/functions/do_shortcode/ and place the revolution slider shortcode inside the function and then place it in the category template files: https://www.screencast.com/t/KYMkUxHej

Thank you!

Simion C.
tagDiv Staff

So the problem is not with the page building part. You maybe want to use the tagDiv composer on posts? If that is so, for the moment that is not possible.
However in coming updates this will change. The tagDiv composer will be integrated in post template creation, among other new features.

Simion C.
tagDiv Staff

We made a few tests on some available iOS and also Android phones, for us the post background image loads no matter how many times we tried
https://www.screencast.com/t/2rjUUsohgqI
https://www.screencast.com/t/FhB5njSqzAIA
The post page does not have any errors that could be causing this problem as well. This template would be somewhat complex with the post header parallax effect, but that should not affect the loading of the featured image background on all devices.

Olya
tagDiv Member

Hello! How to build a page — I understand. Here is how I have it in the future to enable the newly created template is displayed on the page, and not in an article?

Simion C.
tagDiv Staff

Hi,

At the moment you cannot add more page templates, there are some predefined ones
https://www.screencast.com/t/bpspcmLYgZ

So you want to create a page that should have pictures, text and blocks in it. That is not difficult to do. The tagDiv composer contains such elements, so you can build a page like that with no problem.
Beginning from the top, as a post title use the column title element
https://www.screencast.com/t/NF8lOSeZ1HIo
For images there are also elements. Blocks can be placed with no problem.

Or you could use a simple column text for the text and images
https://www.screencast.com/t/xTC3xPJA

You can also save the row or the elements you configure, so when needed you can place them on any page
https://www.screencast.com/t/5vC09Ops94
https://www.screencast.com/t/MxyAgMeT

Thanks

33ParkMedia
tagDiv Member

We are also seeing this issue after updating that the other 2 sites do not have…

https://capitalequityreview.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-16-at-5.17.29-PM.png

Array
(
[0] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[line] => 337
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[1] => td_api_base::mark_used_on_page : a component with the ID: vc_column_text is not set.
)

)

[1] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[line] => 135
[function] => mark_used_on_page
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => vc_column_text
)

)

[2] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_block.php
[line] => 40
[function] => get_by_id
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => vc_column_text
)

)

[3] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/plugins/td-composer/includes/shortcodes/vc_column_text.php
[line] => 13
[function] => render
[class] => td_block
[object] => vc_column_text Object
(
[block_uid] =>
[td_query] =>
[td_block_template_data:protected] =>
[atts:td_block:private] => Array
(
[0] =>
)

[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
)

[type] => ->
[args] => Array
(
[0] => Array
(
[0] =>
)

)

)

[4] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php
[line] => 28
[function] => render
[class] => vc_column_text
[object] => vc_column_text Object
(
[block_uid] =>
[td_query] =>
[td_block_template_data:protected] =>
[atts:td_block:private] => Array
(
[0] =>
)

[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
)

[type] => ->
[args] => Array
(
[0] => Array
(
[0] =>
)

[1] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
)

)

[5] => Array
(
[function] => proxy_function
[class] => td_global_blocks
[type] => ::
[args] => Array
(
[0] =>
[1] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
[2] => vc_column_text
)

)

[6] => Array
(
[file] => /nas/content/live/capitalequity/wp-includes/shortcodes.php
[line] => 319
[function] => call_user_func
[args] => Array
(
[0] => Array
(
[0] => td_global_blocks
[1] => proxy_function
)

[1] =>
[2] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
[3] => vc_column_text
)

)

)

afratus
Participant
#0

Hello,

I have some questions regarding css features on Newspaper in my site (www.topensandoemviajar.com). Maybe you can help me:

1. When the homepage loads, it appears the the html is loading before css. Why?
2. The images on homepage appears to be low res when I use large screens.
3. Sometimes when I reload the site, a blank space appears between menu and big picture. I inspected the element and it shows like this:
<div class=”td-header-menu-wrap-full td-container-wrap td_strecht_content”style=”height:1068px;”>
<div class=”td-header-menu-wrap td-header-gradient”>
4. I’m currently using version 8.5, as a lot of troubles appeared on my template after I tried to update to 8.6. Can I try to update to the last theme version?

Thanks a lot!

Bodale
tagDiv Member

Hi guys,

I have the same problem, maybe the point is that fb changed something in policy and the template should be updated.

my core business is on facebook so.. can you help me as soon as possible, tomorrow I have to launch the websites for my 2 pages.

Thanks

Luca

  • This reply was modified 8 years by Bodale.
Viewing 25 results - 13,976 through 14,000 (of 18,570 total)