- NewsmagPage templates
- NewsmagCategory templates
- NewsmagFooter templates
- NewsmagDefault post templates
- NewsmagPost templates
- NewsmagHomepage – How to build and set it
- NewsmagtagDiv Composer Tutorial
- NewsmagCustom Post Type Support
- NewsmagNewsmag documentation
- NewsmagHow to use the Visual Composer plugin
- NewsmagHeader styles
- NewsmagSmart sidebar
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagFeatured images
Well they can actually. Which your own docs state. They are just limited to a single template without code modifications. I’ve already modified the wp_booster framework to include custom post types (which you should do by default if you ask me).
I was hoping that there was an easy solution, but I’ll get to work on modifying the rest of the framework myself.
Another thing. You might want to rewrite the error handling of your td_api.api. I.e. line 322:
td_util::error(__FILE__, "td_api_base::mark_used_on_page : a component with the ID: $id is not set.");
Will display errors on page and not only to error log.
Thank you Catalin, I will check that out (I’m a programmer)
Another way it could be done, in the case of a small number of pages, is if there was a way to add CSS on a page-by-page basis.
i.e. I could add something like this:
.td-a-rec-id-content_bottom {display: none;}
Here is what I actually did to get the effect I wanted:
I set the 10 stories that I didn’t want the bottom ads on, to use Template #12
and in the custom code section of the Theme Panel, I did this:
.td-post-template-12 .td-a-rec-id-content_bottom {display: none;}
It would be great if you could add, say 5 custom Post templates, and allow a way to connect those post templates to a particular category or list of categories.
But for now, I made it work to do what I wanted. Lucky it was only 10 pages and not 1,000
On this post:
https://godhelpusall.com/brexit-bilderberg-one-world-government-bbc-bias
The <H2> tag is now being used in the sidebar. The <H2> tag tells Google what your post is about. Right now, you are telling Google that all of your posts are about this:
<H2>: Social Media Connections
<H2>: Trending Alternative News
<H2>: In Other News
<H2>: Follow Us
This is SEO suicide. The <H2> tag should not be used by ANY theme on posts, pages, or other content pages. It’s ok for a theme to use <H2> on the home page, archive pages, or other non-content pages.
Instead of changing all <H4> to <H2>, you need some conditional logic like this pseudo code below:
IF IsHomePage or IsArchivePage THEN <H2> ELSE <H3>;
(<H3> in the sidebar works for me)
I forget how Newspaper works exactly but alternatively, if you use block templates or modules exclusively for the home page and archive pages (and not on posts and pages), you can change the header tag on only those block templates or modules. On posts and pages, use blocks that use <H4> or preferably <H3>.
Hi all,
If anyone is interested I managed to get round the H1, H2 on the homepage and category archives issue quite quickly and with a relatively simple solution.
Homepage:
Modify td_block_template_1.php file found in includes folder.
Modify h4 in this code:
$buffy .= ‘<h4 class=”block-title”>’;
if (!empty($custom_url)) {
$buffy .= ‘‘ . esc_html($custom_title) . ‘‘;
} else {
$buffy .= ‘<span>’ . esc_html($custom_title) . ‘</span>’;
}
$buffy .= ‘</h4>’;
To read ‘h2’
This changed the block titles on the homepage from h4 to h2
Category Archives:
Download and install CategoryTinymce plugin via your WordPress install.
Then edit your categories which will now have a fully functional editor similar to creating a post article.
You can then add all the h2 headings, images and customisations you want.
Note: Outcome will be determined by which category template you are using within the theme.
Look at this site to see:
Homepage Example: https://godhelpusall.com
Category Example: Finance News
Hope this helps a little.
Kevin
-
This reply was modified 10 years by
Kevin.
After a bit more digging, I figured out it couldn’t call the various thumbs from the server.
I did figure out a solution and moving forward, all graphics and picks will be able to fit inside the 4:3 container for the smaller graphics. I’ve done some modifications to current images using a new Photoshop template and it appears to work well.
Given enough time, I can have all the graphics moving forward fit the various containers without issue. In the meantime the pages I create will have to be rather selective – making sure the blocks don’t crop off the older images I have that will come up from time to time. I do have enough blocks to work with to make it work for now.
Appreciate the insight and help.
Personally – I’m LOVING this new theme and all it can do. The wife on the other hand is not all that happy with the amount of time I’m spending “playing on the computer”. (She’ll get over it when I take her out to dinner tonight.)
Rock On!
Hello nomadhermit,
If you want to add the widget to the bottom of individual posts, you have to use the Widgetised Sidebar and place it with do_shortcode method where you want in the posts. First of all, you have to create the code with the desired widget from your Visual Composer editor, like this -> http://screencast.com/t/maoAeYKaIFo -> http://screencast.com/t/pXvfBOVQgU (example for td_demo_category_widget) and then, this snippet of the code <?php echo do_shortcode('[vc_widget_sidebar sidebar_id="td-td_demo_category"]'); ?> you have to place in the post template used by you in the bottom of the page, like this -> http://screencast.com/t/kXiU748n (this is just an example for post template 1). Also, please notice that you can set your widgets from Widgets area section, like this -> http://screencast.com/t/LoSeuujRP0
Hope this helps!
Thanks.
Hello kosashi777,
I suppose that you want to make some changes in our theme and to accomplish that, please notice that is necessary to edit or add some code in the core files from the theme. If you want to add the custom code for your page you have to edit the following files -> page.php, page-pagebuilder-latest.php or page-pagebuilder-title.php, depending on what kind of page template you are using in the theme -> http://screencast.com/t/xlVYMprJWA
Thank you for your understanding!
Hi,
This issue is because you have the wordpress thumbnail set to those dimensions. The default search template uses the wordpress thumbnail. Please add 150×150 dimensions here: http://screencast.com/t/v9Y1pbKwyY or alternatively you could change the template and have a different module for your search page: http://screencast.com/t/H2RJ1sLMPs
Thank you!
Hi Catalin,
Thanks for pointing to me to that. I see now that SEO Yoast will not be compatible with this template. Since changing the Page Title through the SEO Yoast plugin does not work, do you have any suggestions for how I can change the Page Title? Obviously it’s very important for SEO, and I need to be able to customize the Page Title, rather than having it tied to my H1 or headline every time.
Hello abitang,
I suppose that you are referring to the structure of the search template. If you want to change the template for your search page results you have to set it from Theme panel, like this -> http://screencast.com/t/MO5eeyx3
If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Hi
Thanks for the quick reply. We really appreciate it! Checking the cache did the trick for the mega menu. The reason you assumed the solution worked on my end was because I deleted the articles in the category. I have restored one and can confirm that it is not showing in the mega menu, but it is visible in the big grid on the category page. I have followed your suggestion to apply the code to the grid template. Can you help me with altering the code and applying it in the code? I have looked at the code in the correct file, but don’t know how and where.
<?php
class td_category_top_posts_style_3 extends td_category_top_posts_style {
function show_top_posts() {
parent::render_posts_to_buffer();
if (parent::get_rendered_post_count() == 0) {
return; // die here
}
?>
<!-- big grid -->
<div class="td-category-grid">
<div class="td-container">
<div class="td-pb-row">
<div class="td-pb-span12">
<?php
echo parent::get_buffer();
?>
</div>
</div>
</div>
</div>
<?php
}
}
Hi there, I bought the theme a week ago to update my website. I am still working in localhost and something happened and I don’t know how to fix.
Every page that I enter has this error: class=”archive category category-dicas category-146 logged-in admin-bar no-customize-support td_category_template_6 td_category_top_posts_style_4 wpb-js-composer js-comp-ver-4.11 vc_responsive td-animation-stack-type0 td-full-layout” itemscope=”itemscope” itemtype=”http://schema.org/WebPage”>
As you can see here http://snag.gy/JQmF3.jpg .
I thing this started when I putted the Google Analytics UA,and then take it off.
Can you help me?
Hi,
@Breakwater
Unfortunately there are no settings for the attachment page other than the ones seen here: http://screencast.com/t/x4ieLRMn74s You cannot add visual composer elements to the attachment page from the theme panel. What you can do is use the do_shortcode function to add content through code. Every visual composer element has a shortcode that can be seen here: http://screencast.com/t/lEQjrxFAZo
Then you can use this code:
You can add the code in the attachment template file like so: http://screencast.com/t/yht7usHz
Now my block appeared on the attachment page: http://screencast.com/t/GQ0WNwFcjif
@dizajn
I’m not sure why you get the attachment page from linking to the media file. This should be the result in linking to the media file: http://screencast.com/t/1Kgp9otgj
If this is the case and your images realy link to the attachment page instead of the media file, please try to disable all plugins except visual composer, clear cache and reset vdn files. There could be a plugin conflict that does this.
Thank you!
Hi Adnan,
If you want to remove the page title, you can either chose a different page template from here: http://screencast.com/t/XjoHMLM1jV
If you do not want to change the template, you can simply rename your page to something other than home, or you can hide the title with css like so:
.td-page-header .entry-title{
display:none!important;
}
This will leave breadcrumbs intact. If you want to remove them also you need to add this part:
.page .td-crumb-container{
display:none!important;
}
Hope this helps.
Thank you!
How can I remove/change theme name in script area?
var td_viewport_interval_list=[{“limitBottom”:767,”sidebarWidth”:251},{“limitBottom”:1023,”sidebarWidth”:339}];
var td_animation_stack_effect=”type0″;
var tds_animation_stack=true;
var td_animation_stack_specific_selectors=”.entry-thumb, img”;
var td_animation_stack_general_selectors=”.td-animation-stack img, .post img”;
var tds_general_modal_image=”yes”;
var td_ajax_url=”http:\/\/flyon.co\/ajax?td_theme_name=Newsmag&v=2.3.5″;
var td_get_template_directory_uri=”http:\/\/flyon.co\/skin”;
var tds_snap_menu=””;
var tds_logo_on_sticky=”show”;
var tds_header_style=”9″;
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=”#0091f9″;
var tds_smart_sidebar=”enabled”;
var tdThemeName=”Newsmag“;
var td_magnific_popup_translation_tPrev=”Previous (Left arrow key)”;
var td_magnific_popup_translation_tNext=”Next (Right arrow key)”;
var td_magnific_popup_translation_tCounter=”%curr% of %total%”;
var td_magnific_popup_translation_ajax_tError=”The content from %url% could not be loaded.”;
var td_magnific_popup_translation_image_tError=”The image #%curr% could not be loaded.”;
var td_ad_background_click_link=””;
var td_ad_background_click_target=””;
Hello benj0612,
Unfortunately, our theme does not have such an option to move the description section from category page from the top to the bottom section of the page, sorry! If you want to do that, please notice that is not a simple task and this require some additional customizations through code that involve custom work. As a hint, you have to alter the code from the core file td_category_template.php and category.php, like this -> http://screencast.com/t/Mi9KZBj4E -> http://screencast.com/t/5NtQtwoZzENs Please notice that above I have pointed you the main files where you should make the changes but please notice that you need some additional customizations in order to achieve best results.
If you want to display more levels in our theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to implement this for you in our theme because we cannot provide customization services at the moment, sorry! Usually, we recommend the developers from studio.envato.com.
Thank you for your understanding!
Thanks Catalin! That is indeed what I’m referring to, but unfortunately it didn’t work when I tried making the change in the plugin settings as you suggested.
What I’m finding is that on Category pages, what I enter into the SEO Title of the Yoast plugin appears as the title in the tab. But for all other types of pages – meaning posts and pages – what I enter into the Yoast plugin does not appear there. For whatever reason, the template doesn’t seem to be recognizing what I’ve inputted into the plugin. Is there a way to fix this?
Thanks so much for all your help with this, it really is very much appreciated.
Hi,
the post loop is disabled if you change to a different page template. The page builder + latest articles is the only one that has the post loop: http://screencast.com/t/bct3W6Pvvmv
Thanks.
Wow, That is a whole lot of questions in one!
1) Unfortunately the latest articles cannot stretch to the whole width as they are not visual composer elements. There is no easy way to do it.
2) You cannot get the footer ad outside the footer. You will need to place the add in every post template, category template or page as the footer ad is meant to stay in the footer. It cannot create the necessary space for it in every other template that displays above it. If you want this custopmization you have a bit of work to do as you need to use this code:
Then place an ad in the custom ad 1 spot and then use it in every post template you use: http://screencast.com/t/pxohXgHczwym (these are in the root directory), the category pages: http://screencast.com/t/zgs5t556 , search results, and any other content you have on your site.
As you can see it’s not that easy.
3)You cannot add borders to the big grid as borders will increase the width with a few pixels and the grid depends on it’s fixed width. The layout will break if I add borders with css to it.
4)Please follow this topic to see how this issue can be resolved: https://forum.tagdiv.com/topic/chinese-social-icons/
5) a)It’s best to hide the section altogether and simply upload a mobile logo from the theme panel as there is no point in having 2 logos :
@media (max-width:767px){
.td-header-sp-recs{
display:none!important;
}
}
b) same issue as answer 4
Thanks.
Hi,
You can achieve that in visual composer as all the block elements can be simulated on a page. Unfortunately you cannot replicate the category template style (the top part) that includes the category tags and the ‘latest’ dropdown. That part is created specifically for category archives.
Thank you!
HI,
in my category pages im using the Category template Style 8 (http://demo.tagdiv.com/newspaper/category/template-style-8/).
This template shows also up the empty child categories in the header. Any idea how to hide this empty cats?
best
Or for those who are possibly lost:
====================================
“changed_files_6.6.5_6.7.html”
Newspaper theme
Here is a list of all the changes between v 6.6.5 and v 6.7
Modified files – 12 files
page-pagebuilder-title.php
page.php
style.css
includes\td_config.php
includes\plugins\js_composer.zip
includes\shortcodes\td_block_authors.php
includes\wp_booster\td_global.php
includes\wp_booster\td_wp_booster_functions.php
includes\wp_booster\wp-admin\panel\views\td_panel_categories.php
includes\wp_booster\wp-admin\panel\td_view_theme_plugins.php
js\tagdiv_theme.js
js\tagdiv_theme.min.js
Deleted files – 1 files
includes\plugins\revslider.zip
Deleted files – 0 files
=============================
“update_log.txt”
[ Version 6.7 ]
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file
Oasontu, thank you! Yes that is exactly what we are trying to do right now but it seems their are limitations to making a custom category page. Would I be able to make a custom category page look just like a theme supplied “category template” page?
Hi
The indicated site use a infinite scroll model to load posts. Unfortunately with our theme this is not possible at the moment. This is a complex task which need lots of customizations in order to be achieved. It will need to be custom made and unfortunately is not a ‘walk in the park’ from any point of view you look at it.
First must be chosen a way to load the next posts and here are two main ways:
– load all posts when the page it’s loaded first time, which is not very good for page-speed
– load posts when the users scroll-down, which means additional queries to the database.
Regarding the video this is not an much easier task either.
First you need to understand how page structure looks like when a sidebar it’s used. There are two main containers in place: a span 8 and a span 4. What you’re trying to do is to move a part of content from one container to another when user scroll down. This is not possible at all because after the html it’s generated it can’t be changed within same session. In your example the video and text are in the same container. The css applied only change the position, which is possible, but not affect the html. You can achieve a similar result using our theme but it’s required a custom post template with a custom structure.
I mentioned in my previous replies that we can’t offer any custom services at the moment. If you’re not aware of the steps you need to take in this regard you can always hire a developer or a freelancer from sites like http://studio.envato.com/ to do this for you
Thanks!
Is it possible to move the breadcrumbs to the bottom of a post?
I’m using the child theme and template 7.
I moved the php code (<?php echo td_page_generator::get_single_breadcrumbs($td_mod_single->title); ?>) in loop-single-7.php but no joy.