Search Results for 'page template'

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,
Pages already show up in the breadcrumbs. if you do not have breadcrumbs on your pages, it means you are using a page template that does not contain breadcrumbs. For this you have to use the page builder + page title template:
http://screencast.com/t/BrrHhDHRhttp://screencast.com/t/N7YXzFPC
Thank you!

Andrei L.
tagDiv Member

Hi

When you’re using blog template the elements from Visual Composer can’t be added on page using the page-builder. However you can use do_shortcodefunction to display the big grid on blog page. Here is an example:
– first you need to get the grid’s shortcode. To do that add the desired grid on a blank page, set as you want then click on classic mode button to switch in back-end editor, copy the shortcode and paste inside do_shortcodefunction like here: http://screencast.com/t/GWIAj90xwep

<?php echo do_shortcode('[vc_row][vc_column][td_block_big_grid td_grid_style="td-grid-style-4" category_id="19"][/vc_column][/vc_row]'); ?>

Thanks!

  • This reply was modified 10 years by Andrei L..
horseturd
tagDiv Member

No this is happening to me too. I just purchased and you can install the theme, but if you try to install the theme templates or manually make a homepage with visual editor nothing is working.

pasqualino77
tagDiv Member

Sorry but i not’ undstand

I try to instal amp and glue … but my page it’s a very sample

I don’t see a logo.

i don’t see a futured image.

see example http://wikitesti.com/il_canto_del_mare_-_frisina/amp/

I can isert a my banner? My traffic mobile are 70 %, if i don’t want change my banner with a Adsense banner. The adsense banner have a low cpm

Are possibile have a template for amp, with my banner?

Thanks

wwth
Participant
#0

Hi,

I’ve created a child theme since I wanted to tweak just a couple of elements.

However, I am scratching my head because I can not understand how to remove the link created in the H1 Title of the “Homepage Post” element used on a PAGE

This element is very similar to the Style 8 Template used on POSTS where the H1 title is not a link.

Thanks!

Bintmusic
Participant
#0

Hi,

I was looking for a way to add h2 tags to the titles of the blocks in the home and on the pages

I saw that you can do by editing (puttting h2 instead of h4) in
\ Newspaper \ includes \ block_templates \ td_block_template_1.php

// there is a custom title
$buffy = ”;
$buffy .= ‘<h4 class=”block-title”>’;
if (!empty($custom_url)) {
$buffy .= ‘‘ . esc_html($custom_title) . ‘‘;
} else {
$buffy .= ‘<span>’ . esc_html($custom_title) . ‘</span>’;
}
$buffy .= ‘</h4>’;
return $buffy;
}

the problem is that h2 is also added to the titles of the blocks on the sidebar of the post..

how to not include them in sidebar post to avoid putting too much h2 (in addition to that the article)?

Phonetic
tagDiv Member

Hi Andrei.

I’m almost there with the modifications. So far the block code is working 100 % with several custom post types. But I still cannot show custom post types on the category pages. Top posts are working as the are based on the block settings, but the article display is not showing. I’ve been trying to find there in the code the ‘post_type’=> ‘post’ is set for that but can’t seem to find it.

So far i’ve changed this:

td_data_source.php

$wp_query_args = array(
'ignore_sticky_posts' => 1,
'post_type' => array('post','custom1','custom2','custom3'),
'post_status' => 'publish'
);

This will enable mega menus to fetch data from custom post types.

Out commented the post tytd_wp_booster_functions.php

// if ($post->post_type != 'post') {
// return $wordpress_template_path;
// }

This will enable custom post types to use the default post templates.

td_templates_settings.php line 89:

'template' => get_template_directory() . '/includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php',
));

Forcing the templates to show for custom cpt in edit post in backend.

I’ve also added custom cpt to search etc.

But where do I set the post types for the article display on category pages etc?

Bintmusic
tagDiv Member

Hi

sorry, but to enter the h2 tags on the home, pages blocks and categories (sidebar) blocks is not enough to change h4 in h2 in

\Newspaper\includes\block_templates\td_block_template_1.php

// there is a custom title
$buffy = ”;
$buffy .= ‘<h4 class=”block-title”>’;
if (!empty($custom_url)) {
$buffy .= ‘‘ . esc_html($custom_title) . ‘‘;
} else {
$buffy .= ‘<span>’ . esc_html($custom_title) . ‘</span>’;
}
$buffy .= ‘</h4>’;
return $buffy;
}

in this way the h2 tags are definitely referring to the content of the page and the title … or not?

Thanks

  • This reply was modified 10 years by Bintmusic.
CtrlP Press
Participant
#0

Howdy

Just uploaded the most recent update (by FTP) and now getting a string of wp_booster errors:

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_1 is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

(all the blocks… ending with 16 below)

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_16 is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_popular_categories is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_slide is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_ad_box is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_text_with_title is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_authors is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

From searching prior comments, this looks like it might b a category template that got overwritten (yet I’m using a child theme)… but I can’t access my theme panel at all. Well its kind of there but missing menu and content.

Instead I have this in the menu panel:
Warning: Invalid argument supplied for foreach() in /home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php on line 62

and this in the content panel:
Warning: Invalid argument supplied for foreach() in /home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php on line 119

I have cleared the caches multiple times and deactivated all the plug-ins and cleared again, but its having no effect.

These errors, of course, are writing to the site pages too, as well as page specific errors.

vadikcoma
Participant
#0

Hello, I just updated wordpress and Newspaper, and I couldn’t edit any of my pages, as Visual Composer is not loaded, and there are errors in inspector:

composer-view.js?ver=4.8.1:165 Uncaught TypeError: $template.get is not a functionvc.shortcode_view.Backbone.View.extend.html2element @ composer-view.js?ver=4.8.1:165vc.shortcode_view.Backbone.View.extend.render @ composer-view.js?ver=4.8.1:176vc.visualComposerView.Backbone.View.extend.appendShortcode @ composer-view.js?ver=4.8.1:582(anonymous function) @ composer-view.js?ver=4.8.1:523(anonymous function) @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:16m.each.m.forEach @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:16vc.visualComposerView.Backbone.View.extend.addChild @ composer-view.js?ver=4.8.1:522vc.visualComposerView.Backbone.View.extend.addAll @ composer-view.js?ver=4.8.1:513_ @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62m @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62f @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62l.trigger @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62i.extend.reset @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62t.success @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62vc.shortcodes_collection.Backbone.Collection.extend.sync @ composer-models.js?ver=4.8.1:156i.extend.fetch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,underscore,jquery-ui-core,jquery-ui-wi…:62(anonymous function) @ composer-view.js?ver=4.8.1:874

Janglobalrize
Participant
#0

Hi guys,

I have tried several things:
– Re-installed wordpress
– Deleted theme + plugins and re-installed them
– Deleted cache
– Etc..

But I can’t get Visual Composer working with the Newsmag theme. It has worked in the past.
I get with F12 this error: Uncaught TypeError: $template.get is not a function

What can I do? I need to upgrade our frontpage (www.biblword.net). This a page is use as a frontpage, and the page is build (long time ago) with visual composer.

Can someone please help me?

henrikkloster
tagDiv Member

Thanks. Just what I needed. 🙂

But one question.. Why cant I find the image I have added before on the page in the template? 🙂

Here:
http://www.govarde.dk/nyt-koeretoej-til-tistrup-plejecenter/

(The 3 houses images in the bottom of the article)..

Isn’t this loop-single.php when I use the default in Post Settings?

I added “test” in text and it shows – but where do I find the image with the houses i inserted 3 month ago.. I cant remember and cant find it in loop-single.php… 🙂

Regards,
Henrik

Bogdan B.
tagDiv Staff

Hi Henrik,
You can do that by editing the post template files: http://screencast.com/t/TBnGVRqNyPxb
For every post style you use there is a file corresponding to it. You will need to add your content to every file that corresponds to the post styles you use on your site. Inside the files you can use standard html to add content to the posts.
If you want top add content on pages, then you need to edit the page template files: http://screencast.com/t/FHl71gBO Thjere is one file for each of the 3 page templates you can use.
Hope this helps.
Thank you!

Andrei L.
tagDiv Member

Hi

On our demo we use module 12 for page layout. To achieve a similar layout you can use page-builder+latest as template and chose in post loop settings module 12: http://screencast.com/t/RULlgihyaX The excerpt length can be set from theme panel > excerpts: http://screencast.com/t/pBR62jAMIcPS
I hope this helps.

Thanks!

drdella
tagDiv Member

Hi

I have bought this question before, and asking it again, how to make my blog look like http://demo.tagdiv.com/newsmag/homepage-blog/
this a sample from newsmag, but i cannot find any template, block and element to get it work like this. please give answers

Catalin
tagDiv Staff

Hello Thalisson,

You have to insert the script between the head tag in header section, like this -> http://screencast.com/t/RxHTuwnLPFPj Please try to implement this feature according to their documentation here
-> https://support.google.com/adxseller/answer/6068103?hl=en Also, if you want to display your ad only for certain pages or template, you have to put some conditions through the code to accomplish that. For more references about these functions, please check the codex here -> https://developer.wordpress.org/reference/functions/is_page/ -> https://developer.wordpress.org/reference/functions/is_page_template/
Please notice that is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for your understanding!

drdella
Participant
#0

Hi

I have bought this question before, and asking it again, how to make my blog look like http://demo.tagdiv.com/newsmag/homepage-blog/
this a sample from newsmag, but i cannot find any template, block and element to get it work like this. please give answers

cookingpanda
Participant
#0

my website used to have pageviews on backend, but now it’s gone. is that a plugin or part of the template? i want it to show again on my backend

whitenet
Participant
Frontend - topic
#0

Hello
Why only on this template Fronted editor not showing on page edit
I check default templates and everything work but on this template fronted is disabled

okgo87
Participant
#0

Hello,
Using Visual Composer, I have created this structure on a page, which is going to be the homepage template.

The problem is, block 18 doesn’t seem to fit and adapt itself into the center column and it appears narrowed.
This is how it appears
How can I solve this problem?

EU-uutiset
Participant
#0

Hi,

I’m running an online newspaper: 24uutiset.fi.

In some points we would publish sponsored articles like the one in this image (in the bottom under the blue -advertoriaalit- tag):

Advert and sponsored article

Naturally when someone sponsor/buys a spot when the reader click on it they also would like their own adds showing on the landing post/page and not some random ad (as this image shows:

My problem is that I don’t know how to customize ads per post. Now all the ads are defined in the templates for header, posts and sidebar making them universal.

My solutions would be to be able to either be able to customize each and every post differently OR be to able to make indefinite amounts of templates that are shown in Theme Panel and name them separately as f. ex. the sponsors name so I could add that template to that sponsored post.

Any ideas of how to address this issue?

RachelG
Participant
#0

I would like to display “Block 12” at the bottom of each single post page. I have a child theme and have customized the single post template. Is there a way to add Block 12 at the bottom of the post? Also, I would like it to only list posts within the category of the current post.

Thanks,
Rachel

newtag
tagDiv Member

hi, thx for the info. But the other discussion is not helpfull,

I found a plugin that works perfect on other themes –> https://wordpress.org/plugins/infinite-transporter/faq/
But i cant get it work on the single page (i already included the code in the functions php)
The Plugin works nearly with alle free themes on the wp repository but not with the newspaper theme 🙁

I can change the templates if you tell me wich changes i should make. I tried to include id=”content” – but it does not work. It would be awesome if you can help me out. please install the plugin and check it – it takes only 5 minutes 🙂 This is a must have for me – this was the reason why i asked before i bought the theme. Thank you so much

best

  • This reply was modified 10 years by newtag.
  • This reply was modified 10 years by newtag.
Bogdan B.
tagDiv Staff

Hi,
The ‘block’ under the video is actually no block at all. It;s the latest articles loop. It is a feature of this page template: http://screencast.com/t/LgCH4wcj9Yec
The post will get the username of the person that is logged in and hits the publish button. If the admin does so, then the admin will be the author.
The hover color for the theme elements is affected by the theme general color set here: http://screencast.com/t/6tYeTscyetcK
Thank you!

trigrafik
Participant
#0

Hello! how can i change the them name?, I tried to use Hide-my_Wp, but the name still there

“var td_ajax_url=”http:\/\/flyon.co\/wp-admin\/admin-ajax.php?td_theme_name=Newspaper&v=6.7”;
var td_get_template_directory_uri=”http:\/\/flyon.co\/wp-content\/themes\/Newspaper“;
var tds_snap_menu=””;
var tds_logo_on_sticky=””;
var tds_header_style=””;
var td_please_wait=”Please wait…”;
var td_email_user_pass_incorrect=”User or password incorrect!”;
var td_email_user_incorrect=”Email or username incorrect!”;
var td_email_incorrect=”Email incorrect!”;
var tds_more_articles_on_post_enable=””;
var tds_more_articles_on_post_time_to_wait=””;
var tds_more_articles_on_post_pages_distance_from_top=0;
var tds_theme_color_site_wide=”#4db2ec”;
var tds_smart_sidebar=””;
var tdThemeName=”Newspaper“;”

Viewing 25 results - 16,351 through 16,375 (of 18,570 total)