No search results were found in Documentation!
Hi,
Do you use child theme? If you do please switch to the main theme and check this.
If you don’t have this issue anymore please make sure that you update the also child theme to version 2.0.
Thanks!
What is the correct method or any docs describing how to create a custom page template in a child theme in newsmag.
I have a page where i need to apply some custom code (performs a custom search and some other logic) So far i have copied the page.php and modified this. Is that correct method. Similarly i have a custom post type which i want to apply a template, i have again started by copying the page.php and renaming to single-(posttype).php, is this correct method for this template?
thanks
Hi!
I have done like you said:
* activated theme twothousandfifteen: same issue
* activated theme Newspaper 6 (since I am runing child theme): same issue
* deactivated the only plugins that I had installed (MCE Table Buttons, Visual Composer Widgets, Widget Builder) since I noticed this problem: same issue
This is definately not specific from my browser or machine since my customer has the same problem. Perhaps this is a stupid question but… could this be done by the server?
I can provide you the FTP and admin credentials so you can take a look if you want to. It’s not a live site yet so you can do whatever you want, I have backup copies. In that case, the only thing I need to know is when you are doing something there so that I don’t work with the site, so we don’t override each other’s work.
So… any other suggestions?
-
This reply was modified 11 years by
jonybigude.
Hi,
Changing to the main theme still returns the same behavior? Please give it a go and also test this using a default WordPress theme and let me know how it goes and how it behaves.
I’ve tried to recreate this however couldn’t do it on my testing environment using the latest theme and child theme versions and themes’s plugins so please make sure you also check without using any extra plugins which might affect the outcome and check again.
Let us know how it goes!
Thanks
Hi,
For the moment header styles cannot be overwritten by child theme, it will be available from version 6.3 – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
HI,
I have activated the child theme with newspaper theme.
Trying to comment out the top nav menu but changes are not being reflected.
My header style 1 file is in /witnesslive/parts/header/
I have cleared the cache as well.
Is there something else I need to do ?
Hi,
Yes, this possibility has been added within the latest update, however not all files located there can be altered using the child theme. You can find more info here: https://forum.tagdiv.com/child-theme-documentation-newsmag/
Thanks
Hi!
Something is wrong with my functions.php, it seems that I have broken it.
After trying to apply some changes on a child theme I stopped seeing the “Mewspaper” button on the admin page. I decided then revert all the changes on my child theme’s functions.php but the result was the same. I decided then to go to the original zip folder with the theme that I downloaded from Themeforest and copy the file functions.php and paste it on the same place on the server.
I thought this would solve the problem but it did not. The site is blocked, all I see is a blank page and not even the url shows me something…
The backups I have are way too old, a lot has happened since then. Does anyone have any suggestion to solve this? Thanks in advance!
Here is my functions.php:
<?php
/* ----------------------------------------------------------------------------
WordPress booster framework - this is our theme framework - all the content and settings are there
It is not necessary to include it in the child theme only if you want to use the API
*/
if (!defined('TD_THEME_WP_BOOSTER')) {
include TEMPLATEPATH . '/includes/td_wordpres_booster.php';
}
// Adds a widget area.
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'Annonser i toppen',
'id' => 'extra-widget-area',
'description' => 'Annonser i toppen - redigeras hos Widgets Builder',
'before_widget' => '<div class="td-header-top-menu-full">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>'
));
}
// Place the widget area after the header
add_action ('__before_header', 'add_my_widget_area', 10);
function add_my_widget_area() {
if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('Extra Header Widget Area');
}
}
// Visual editor always on
add_filter( 'wp_default_editor', 'force_default_editor' );
function force_default_editor() {
//allowed: tinymce, html, test
return 'tinymce';
}
?>
Hi!
I got a bug after I applied a child theme on Newspaper 6. The only things I did change on the child theme was the addition of ads above the header.
After that, whenever there is the possibility of writing something with the RTE, the html editor is always on by default. I would like to put things back as they were, so I created a topic here:
http://wordpress.stackexchange.com/questions/194059/rte-always-on-text-mode-by-default/194076#194076
Is there any other easier way to solve this issue? Perhaps a good suggestion for a future update is to have this setting available for manual overriding on the theme panel?
Hi,
1. You can remove gradient using this custom css in Theme Panel > Custom Css – http://screencast.com/t/9wxFOCUU
.td-grid-style-1 .td-module-thumb a:last-child:before {
display: none !important;
}
Or you can reduce the darkness for grid style 1 using this solution – https://forum.tagdiv.com/topic/change-shadow-function-in-big-grid-3/
2. That’s depends which category template you use for each of your category – http://screencast.com/t/GaYDBGCuJ4Rv
Also if you use template 8 please note that for categories that don’t have subcategories like Musea it will show all you parent categories there, but for parent category(has subcategories) like Bezienswaardigheden it will show all subcategories. So you can change the style for each of your category or subcategories.
3. Try to change article permalink and see if it works – http://screencast.com/t/A3goxNO1
Thanks!
Hi,
Unfortunately you will need to re-add this change as the file will be overwritten when you will update the theme. I just said above that in version 6.3 the child theme will support single template files – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
Hello, I had a problem with quality of images in module 10 viewed from mobile, as they’re pixeled as the default size used is around 150px and they appear to full screen on mobile if you use them to show the latest post on your blog page.
This is my solution. It’ll load a bigger image, but sizes are not that much great to have a bad impact on website performances.
1. Create a new image size for thumbnails (e.g. I’ve used 640×350)
2. Modify Newsmag->includes->modules->td_module_10 in this way:
<div class="<?php echo $this->get_module_classes();?>" <?php echo $this->get_item_scope();?>>
<?php echo $this->get_image('td_640x350');?>
<div class="item-details">
3. add this code to the child theme CSS:
@media (min-width: 768px) {
.td_module_10 .td-module-thumb img {
max-width: none;
height: 135px;
width: 246px;
margin-left: -33px;
}
.td_module_10 .td-module-thumb {
width: 180px;
height: 135px;
overflow: hidden;
}
.td_module_10 .td-module-thumb .td-video-play-ico img {
max-width: 40px;
max-height: 40px;
}
.td_module_10 .td-module-thumb .td-video-play-ico {
left:103px;
}
}
I will investigate this and I will try to add a class_exists for the three classes in the next version (1-2 weeks) for the following classes td_menu, td_tagdiv_walker_nav_menu, td_nav_menu_edit_walker . I did not managed to fully understand the consequences of such a change now because we are all replying to support requests 🙂 but I think it will allow full menu customization. (or if we include the files with locate template – that should also work).
Any update on this now that v2 is out? Can we alter files in wp_booster folder via child theme or the API?
I currently use the child theme. Here is my site that I would like to keep looking and functioning the same way if I upgrade to Newspaper 6 and upgrade the plugins as well.
I hope you can guide me through the process because I attempted to follow the process you have outlined on the site and the result is nothing like what I have worked so hard to develop.
Thanks again.
Philip
Hi,
Please make this change in main theme, as in the child theme single templates files will not overwrite the main theme for the moment. In version 6.3 these files(and more) will be supported by child theme.
Thanks!
Well, this was a very special case, my customer doesn’t want one but many ads above the header. It is solved now: http://varnamo.srv01.wpeasy.se/
Anyway, the conclusions after my research (for a solution) and many failed attempts were that this would be an incredible idea for a plugin. I wish I was a programmer! 😀 The ads don’t actually have to be in the header, they just have to look like they are there! – take this as a suggestion for a new update or a brand new plugin or deluxe addon to this amazing theme 😉
Anyway, my problem was that the customer wanted to have an easy managable ads area above the header where he could easily change and manage ads.
Solution:
I bought this plugin: http://codecanyon.net/item/visual-composer-in-sidebars-addon/8558485 so that the customer could easily manage the ads in a consistent way with the rest of the website. Then I created a child theme because this was no longer about CSS editing. Then I created a new widget and a new sidebar on the header. Last but not least, I added the ads as simple images using the bought plugin on a 1/6 grid.
It works and it rocks but it was painful. In my opinion, you could either include this in a next update as a default feature or you could develop this as an extra paid plugin, I am 100% sure (after have seen so many people with the same problem when I google) that a lot of people want to do this.
Cheers!
-
This reply was modified 11 years by
jonybigude.
Hi,
In the last update we’ve focused on theme’s performance child theme system and we’ve approached few visual issues.
We still have the comments link issue on our todo list and we have approached it and tried to find a solution for it or other implementation for it however we couldn’t find a fix yet because this comes from theme’s grid we’re not even certain if it can be fixed. We still have it on our attention and if we find a way will fix it as soon as possible.
Sorry for the inconvenience!
Thanks for the message!
Hi,
You can use do_shortcode function to place a custom ad in header.php file that it ca be overwritten by child theme – http://screencast.com/t/tfSHbmlm and paste your code in Theme Panel > Ads – Custom ad – http://screencast.com/t/Ai0jnyHcOkh
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
You customize it using custom css in Theme Panel > Custom Css – http://screencast.com/t/82VwxRmtg
Or if you want to register a new sidebar you can do this in functions.php from child theme – http://screencast.com/t/vrZ2ti3WJx – http://screencast.com/t/oVcC46g3DO
<?php dynamic_sidebar('extra'); ?>
register_sidebar(array(
'name'=> 'extra',
'id' => 'extra-widget', //the id is used by the importer
'before_widget' => '<aside class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<div class="block-title"><span>',
'after_title' => '</span></div>'
));
And place the sidebar in header.php like I suggested above with custom ad – http://screencast.com/t/E2EVTuZAHut it should work fine – http://screencast.com/t/Qg6RwbYoxA4r
<?php dynamic_sidebar('extra'); ?>
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
-
This reply was modified 11 years by
Alin [tagDiv].
Hi!
My costumer wants an above header area with managable ads. In other words, my customer wants to upload and/or delete the ads himself.
I have tried to add a child theme and register a widget with a slider on it but the widget is simply not showing. (here is the tut I followed). I Find it unbelivable that it’s 2015 and I can~t find a single plugin that solves this problem when there are so many people that have the same issue.
How can I solve this? Thanks in advance!
Hi,
From version 6.3 of Newspaper the child theme will handle more files as you can see in the documentation – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thanks!
Thanks Sir. Sir as you told before I made these changes in my Custom CSS for blockquote colour: .td-post-content blockquote p {
color: #808080;
}
And also to add custom double quote for pull-quotes I made these changes in Custom CSS panel: .td-post-content .td_pull_quote p:before{
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/before.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}
.td-post-content .td_pull_quote p:after {
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/after.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}
.bbpress .td_pull_quote p:first-child:before, .comment-content .td_pull_quote p:first-child:before, .mce-content-body .td_pull_quote p:first-child:before, .td-page-content .td_pull_quote p:first-child:before, .td-post-content .td_pull_quote p:first-child:before, .td_block_text_with_title .td_pull_quote p:first-child:before, .woocommerce #tab-description .td_pull_quote p:first-child:before, .wpb_text_column .td_pull_quote p:first-child:before {
width: 50px;
height: 50px;
}
.bbpress .td_pull_quote p:after, .comment-content .td_pull_quote p:after, .mce-content-body .td_pull_quote p:after, .td-page-content .td_pull_quote p:after, .td-post-content .td_pull_quote p:after, .td_block_text_with_title .td_pull_quote p:after, .woocommerce #tab-description .td_pull_quote p:after, .wpb_text_column .td_pull_quote p:after {
width: 50px;
height: 50px;
}
NOW the problem is when I am writing any post or any page using Visual Composer these changes are not showing in my page or post. Rather I am getting same default theme accent colour for my blockquote while writing using Visual Composer. Also I cant see custom double quotes for pull-quotes while writing using Visual Composer. Also: I am unable to see any breadcrumb in the page which is edited or written using Visual Composer. Whereas I can see breadcrumbs in those posts written using default WordPress editor. PLease check this page: http://www.kickscoop.com/about/ to see the above problems in the page
That’s very difficult to handle. Any easy method? Like cloning main theme framework into a child theme and then modifying it?
Hi,
We have changed the child theme system, but we will release an update in a week so also the parts files will be overwritten by child theme.
Thanks!
Hi,
I’ve just installed the Newspaper Theme and also installed the child-theme.
I want to change the contents of the file: header-style-1.php, so i copied the file to:
Newspaper-child/parts/header/header-style-1.php
However, this file is never included (only main theme-file is used).
Also when i started debugging this problem, i end up in the method: td_api_header_style::_helper_show_header()
This method only loads files from the main-template and not from the child-theme.
Any help and suggestions would be great!