Search Results for 'page template'

Results from the Forum
gsasho
tagDiv Member

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_top_bar_template_1 is not set.
/home/almartbg/public_html/300qdove.com/includes/wp_booster/td_api.php

wp booster error:
td_api_base::get_key : a component with the ID: tdm_top_bar_template_1 Key: file is not set.
/home/almartbg/public_html/300qdove.com/includes/wp_booster/td_api.php

wp booster error:
The path of the template id: tdm_top_bar_template_1 not found.
/home/almartbg/public_html/300qdove.com/includes/wp_booster/td_api.php

Bogdan B.
tagDiv Staff

Hello,

Is it the one on posts or the one on blocks/modules?
The comment count for posts is found here: https://www.screencast.com/t/MNtLt99r11o
For pages and other templates besides posts, it is found here: https://www.screencast.com/t/F5S2pwDyP

Thank you!

Simion C.
tagDiv Staff

Hi,

If you activated the mobile theme plugin, a latest articles section will always be displayed on the homepage. It cannot be disabled, all the templates the mobile theme uses are predefined. More about then mobile theme here
https://forum.tagdiv.com/the-mobile-theme/

Note that the mobile plugin is optional, you can choose not use it. Then the same content from desktop will be displayed on all devices.

Thanks

Simion C.
tagDiv Staff

Hi,

If you could provide some more details about what exactly you want to do, it would be be helpful. Maybe there is a different way to do it. Page builder elements cannot be inserted in the header unless modifications in the header template files.

Thanks

wiecejnizmniej123
Participant
#0

Hi,
When I turn on template I can’t go into WP kokpit- it’s crashing. When I switch to another template, then it’s working. After few switches everything is working and then, when I reload page, than it’s still crashed. What should I do to make it work properly?

dralim
tagDiv Member

i updated the theme via them forest plug in but site is real slow with dash board is too slow and while adding to google adscence code to theam header its not saving ! this is the header.php file’s code: <!doctype html >
<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>
<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>
<!–[if gt IE 8]><!–> <html <?php language_attributes(); ?>> <!–<![endif]–>
<head>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>

<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>

<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>

<?php locate_template(‘parts/menu-mobile.php’, true);?>
<?php locate_template(‘parts/search.php’, true);?>

<div id=”td-outer-wrap” class=”td-theme-wrap”>
<?php //this is closing in the footer.php file ?>

<?php
/*
* loads the header template set in Theme Panel -> Header area
* the template files are located in ../parts/header
*/
td_api_header_style::_helper_show_header();

do_action(‘td_wp_booster_after_header’); //used by unique articles

Bogdan B.
tagDiv Staff

Hello,

I think you mean the ‘latest articles’ section. Please change the page template if you want to remove the latest articles section: https://forum.tagdiv.com/page-templates-2/

Thank you!

Bolumstar
tagDiv Member

From my experience there are blocks in the lower part of your page that you can not edit with TD composer and that did frustrate me a lot as I also used a demo like you.
Usually, it is a side bar and a block that holds all post at the lowest part of the front page.
If you don’t like it you can remove it but in my case it was a newspaper site so that block will be good for archives.
To remove it you have to go to pages, select edit page for the particular page, go to the page attributes. Under template select only page builder+page title or Default if you want to remove that block that TD composer can’t recognize.
You can also look at the latest articles block beside it too. That can affect how the default lower block looks

Bogdan B.
tagDiv Staff

Hello,

Sorry but the tagdiv composer only works on pages for the moment. There is no implementation made for it to work on posts, categories or other templates.

Thank you!

Simion C.
tagDiv Staff

Hi,

That would be the case when using the overlay menu page template
https://www.screencast.com/t/6rNym0RDBwuV
The header menu will be transparent when this page template is selected (overlay), but only on that page. Change the page template if you want to display a background color for the header menu, on that page.

Thanks

frasercarly89
tagDiv Member

I’ve tried everything you’ve suggested and still no luck. I tried it on loop-single and template-single, in every combination before and after author box, before and after comments box. Nothing shows up. I am trying to get my Amazon Affiliates native ads to show up, but it’s not working. Works on the homepage.

Website: https://www.livelovefruit.com

Simion C.
tagDiv Staff

Hi,

So you want to move the tags and source/via bellow the top sharing in the post page. You will have to edit the post template used and make this modification. Example for default post template
https://www.screencast.com/t/BatToVcKQ
https://www.screencast.com/t/HJxjzCsr
https://www.screencast.com/t/o3jvwvTNh

Thanks

Simion C.
tagDiv Staff

Hi,

That is not a footer template, it is a page. In the footer you can also display pages
https://www.screencast.com/t/nIh6ChMWgc
The demo footer page can be seen here
https://www.screencast.com/t/EkkGq3NeAVC
https://www.screencast.com/t/uS0rDXYFAlD
https://www.screencast.com/t/Ozo7prirmVFg

Thanks

Simion C.
tagDiv Staff

Hi,

If you are referring to the comments section of the post pages, that would require modifications to the post template files. This is a similar topic you can follow
https://forum.tagdiv.com/topic/adding-an-ad-below-comments/

Thanks

Anonymous
Inactive
#0

Hello,

I need to make a page of my website wide. I have watched the Newspaper theme 8.5 Tutorial – How to easily create a beautiful “About me” page and by selecting the strech row and content option nothing happens.
I have:
1. Made a new page
2. Selected the template Page Builder + Empty Page
3. Added a row
4. Added a Hero element
5. Selected Strech Row and Content option

Would highly appreciate your help,
Have a nice day.

Bagra
tagDiv Member

website link : http://newswave.co.in/

Already trying to use AdRotate on website through widgets but its showing only AdRotate code i.e. echo adrotate_ad(4, true, 0, 0, 0); (at Footer) same as if added on your ad system i.e. echo adrotate_group(1, 0, 0, 0); (at header ad).

If we are place ad, on front page its showing at two places, which is useless

What if we want customization ?

Aslo there is any document about theme which showing about different Blocks/parts of theme. i.e. Smart List, Custom ad, Post Template style,

  • This reply was modified 8 years by Bagra.
mhendiz
Participant
#0

Hi i have problem. after update in main page show me this error.

wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: vc_column_text is not set.
/home/muhendisbeyinler/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

Array
(
[0] => Array
(
[file] => /home/muhendisbeyinler/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[line] => 337
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /home/muhendisbeyinler/public_html/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] => /home/muhendisbeyinler/public_html/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] => /home/muhendisbeyinler/public_html/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] => /home/muhendisbeyinler/public_html/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
(
[custom_title] =>
[tdc_css] => eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=
)

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

[type] => ->
[args] => Array
(
[0] => Array
(
[custom_title] =>
[tdc_css] => eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=
)

)

)

[4] => Array
(
[file] => /home/muhendisbeyinler/public_html/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
(
[custom_title] =>
[tdc_css] => eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=
)

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

[type] => ->
[args] => Array
(
[0] => Array
(
[custom_title] =>
[tdc_css] => eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=
)

[1] =>

koseni-sec-yazar-ol

)

)

[5] => Array
(
[file] => /home/muhendisbeyinler/public_html/wp-includes/shortcodes.php
[line] => 319
[function] => proxy_function
[class] => td_global_blocks
[type] => ::
[args] => Array
(
[0] => Array
(
[custom_title] =>
[tdc_css] => eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0=
)

[1] =>

koseni-sec-yazar-ol

[2] => vc_column_text
)

)

[6] => Array
(
[function] => do_shortcode_tag
[args] => Array
(
[0] => Array
(
[0] => [vc_column_text custom_title="" tdc_css="eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0="]

koseni-sec-yazar-ol

[/vc_column_text]
[1] =>
[2] => vc_column_text
[3] => custom_title="" tdc_css="eyJhbGwiOnsibWFyZ2luLXRvcCI6IjAiLCJtYXJnaW4tYm90dG9tIjoiMCIsImJvcmRlci10b3Atd2lkdGgiOiIwIiwiYm9yZGVyLWJvdHRvbS13aWR0aCI6IjAiLCJwYWRkaW5nLXRvcCI6IjAiLCJwYWRkaW5nLWJvdHRvbSI6IjAiLCJiYWNrZ3JvdW5kLXN0eWxlIjoibm8tcmVwZWF0IiwiYmFja2dyb3VuZC1wb3NpdGlvbiI6ImNlbnRlciBjZW50ZXIifX0="
[4] =>
[5] =>

koseni-sec-yazar-ol

[6] =>
)

)

)

)

Osnak
tagDiv Member

Hello!
The above mentioned code is not working! I want end result like this of category page :
http://www.screencast.com/t/53uagjE5O. I get this result using the code mentioned below in Version 8 :
.td_category_template_1 .td-category-header, .td_category_template_1 .td-category-header .td-container, .td_category_template_1 .td-category-description {
width: 100%;
}

.td_category_template_1 .td-main-sidebar {
padding-top: 48px;

This code is now not working and also the code you suggested is not working.

Please Help.

Osnak

avianews
tagDiv Member

Hi.
For example
Original code

<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<ins class=”adsbygoogle”
style=”display:block; text-align:center;”
data-ad-layout=”in-article”
data-ad-format=”fluid”
data-ad-client=”ca-pub-XXXXXXXXXXXXXXXXX”
data-ad-slot=”XXXXXXXXXXX”></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
I would like to use the original code above, not modified code. What should I do?
The code on the page, after the Newspaper template has modified it, below

<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script><div class=”td-g-rec td-g-rec-id-content_inline td_uid_2_5a86f5a6ee5e9_rand td_block_template_1 “>
<script type=”text/javascript”>
var td_screen_width = window.innerWidth;

if ( td_screen_width >= 1140 ) {
/* large monitors */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}

if ( td_screen_width >= 1019 && td_screen_width < 1140 ) {
/* landscape tablets */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}

if ( td_screen_width >= 768 && td_screen_width < 1019 ) {
/* portrait tablets */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:468px;height:60px” data-ad-client=”ca-pub-xxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}

if ( td_screen_width < 768 ) {
/* Phones */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:320px;height:50px” data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxxxxx” data-ad-slot=”xxxxxxxxxxxx”></ins>’);
(adsbygoogle = window.adsbygoogle || []).push({});
}
</script>
</div>

Catalin
tagDiv Staff

Hello brian7454,

Notice that you can use such a modules/blocks in your footer template and from Block Settings, you can handle what kind of pages/categories to be displayed on the front end in the footer section. Another way does not exist, sorry!

Thank for the message!

Simion C.
tagDiv Staff

Hi,

1. AMP pages do not display a menu, it is not missing as a bug. That is similar to Yoast website, which is leading among SEO solutions
https://yoast.com/social-media-optimization-with-yoast-seo/amp/
This is subject to change, that means that in the future adding a menu may be considered.

2. A decision was made regarding the social styles leading to the current implementation. The style cannot be changed at the moment as it can be seen in the AMP settings, options to select more styles may be introduced in a later plugin update.

3. We will try to improve the AMP documentation as soon as possible regarding it’s settings. Basically for Adsense ads you have to enter the required ad parameters in the provided fields and that is it
https://www.screencast.com/t/7EhwRKCzaHwq
For custom ads (like simple banners) you have to enter the code in the field below
https://www.screencast.com/t/eVwS9GzH

4. The featured image cannot be removed from the post page, there is no setting for that at the moment. The plugin may receive a setting to allow you to disable the featured image on AMP pages, in a future update. If this is required for you now, you could edit the template file from the plugin
https://www.screencast.com/t/vh9jpXtBJoWM

5. The search link is not broken, it will lead to the search form on your website. It will be an empty search page
https://www.screencast.com/t/7oi9UxzK
If you were to search for a term it is like this
https://www.screencast.com/t/ZHZIii30T1
That “-” is a delimiter between search term and “search results”.

6. I have tested all the dropcap styles in an AMP enabled post, these are the results
https://www.screencast.com/t/Qo6smmCGvk
The styles are displaying normally from what I can see, please provide some more details about the issues you are having with the dropcaps on AMP.
Dropcaps can be set here – https://www.screencast.com/t/wLrqwUrP8p5
Quotes here – https://www.screencast.com/t/mCQBFDksVcCu

Pages can be used with AMP if needed, the pages must be created similar to posts however (without page builders). There is an option to enable AMP on pages in the theme panel settings.

Please note that all suggestions are noted, and all identified issues with the AMP plugin will be fixed as soon as possible.

Thanks

avianews
Participant
#0

Hi. Google provides webmasters with responsive code of Adsense and native type of ads.
Meantime I have checked the html code of the content page (Newspaper template 8.7) and have noted, that the template had modified the original Adsense code. How to switch off this Adsense code modification by Newspaper template?

Simion C.
tagDiv Staff

Hi,

The logo in the footer could be removed in the theme panel, here
https://www.screencast.com/t/DEBWmFmoII
Also the about us text and email can be removed in the theme panel
https://www.screencast.com/t/HePAYw3XRr
The “About us” text can be removed in the theme translations settings (enter a simple space)
https://www.screencast.com/t/lJwfSng5
Note that there are many footer style available to choose from
https://forum.tagdiv.com/footer-templates/
Also now you can also display pages in the footer
https://www.screencast.com/t/APjR8RW33W

Thanks

drvarun5179
tagDiv Member

You don’t really need to add ad code to all pages or use a plugin. Simply edit the template and open header.php. There add the ad code between <head> tags.

brian7454
tagDiv Member

That’s a shame. With so many themes these days you can customise posts and pages with different headers, menus and footers. If you’re talking about a site with hundreds or thousands of posts, being forced to use the same rigid footer starts to look like a waste of screen real estate..

Yes, I know that for some themes which don’t offer footer options it is possible to frig it with custom templates, but newspaper isn’t so easily modified.

  • This reply was modified 8 years by brian7454.
Viewing 25 results - 14,251 through 14,275 (of 18,570 total)