- NewspaperChild Theme Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperHow to Update the Newspaper Theme
- NewspaperWhat’s Included in the Newspaper Theme Package
- NewspaperFlex Block Settings Guide
- NewspaperPrimary Category: Build a hierarchy for your website
- NewspaperBreadcrumbs
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
Hello CulturaEnSerie,
Notice that the people get this error when the update is not done properly or they have custom modifications made.
Please make a clean install of the new version by following this guide: https://forum.tagdiv.com/install-via-ftp/
Please restore all modifications you made to the theme, and switch to the main theme if you use a child theme.
Let us know how it goes.
Thank you!
Hi,
Please read our documentation about child theme, here you’ll find the files you can set in the child and how to set them ->https://forum.tagdiv.com/the-child-theme-support-tutorial/
Also you can set the css directly in Newspaper>Theme panel>Custom code>Custom css, in this way you’ll not lose the css after update.
Thank you.
Don’t worry. I worked out the styling will come from the standard css file
However, I can’t get a copy of the file in the child theme to work, only in the main theme, which will be overwritten with updates.
Can i make it work with the child theme?
Thanks for the reply. Can I add this via a child theme so it’s not overwritten with theme updates?
Hi,
Glad it worked.
1. It would be possible if this is required, try to set this additional parameter in the theme header file
– https://www.screencast.com/t/mIqjRo5Mk
It will be possible in a child theme as well.
2. That looks like the theme stylesheet and also the images are not loading, only the HTML. I browsed the website on a phone for a while, it did’t happen for me.
Maybe ask your hosting provider to check if there are any problems with the server, or errors in the error log.
Thanks
Actually, I’ve found a solution that maybe could useful even for other users.
A simple function can be added to functions.php file, a kind of
add_action(‘wp_head’,’SOFT_manage_robots’);
function SOFT_manage_robots(){
if(is_singular(‘attachment’) )
$html= “<meta name=\”robots\” content=\”noindex,follow\”>”.PHP_EOL;
echo $html;
}
Obiouvsly it’s better to do before a child theme.
Hello rom1devweb70,
No, is not needed to use a child theme if you want to customize your page with TD Composer. The child theme is useful when you want to make some additional customizations through the code which you do not want to be lost after a theme update.
Thanks for your understanding!
Hello, if I use tagDiv Composer for the layout and for the css, I would like to know if it resets to zero during the updates of newspaper. Is it to know if I should make a child theme or not?
Thank you in advance for your assistance.
if i place my custom category (the the child-theme) to override the standard category file i get the same results. Posts are missing!
It isnt all categories taht should have this layout, so i use a plugin called Custom Category Template to change the templates on category level. I do work in a child-theme.
You change with the the_post().
As i say the have_posts(), returns false as if there where no posts in the category.
Hi,
Is possible that you miss some piece of code https://www.screencast.com/t/kILwQand
You can do that with a template for category from cloud library, if you want you can make some test on an affiliate link https://affiliate.tagdiv.com/#/load/Category
The old theme was newspaper, if yes, why you do not do this changes in child theme
Thank you for your understanding.
Hi,
If this is what you want to achieve https://www.screencast.com/t/IJgU1p7z , then you can do it yourself.
1. Make a page with tagDiv composer and insert the below code in text.
https://www.screencast.com/t/ttbgAwPPY9v
[vc_row][vc_column][td_block_author][/vc_column][/vc_row]
2. You need to go in theme file go in wp-content>theme>newspaper> and search for page.php open the page and set the code from here like in screenshot
https://www.screencast.com/t/8YyuuDXMUCM
Also you can add the code just in all template page ( those are the template pages ) or just in dose you want to have the author box.
In all example:
https://www.screencast.com/t/TBH7jFN17
https://www.screencast.com/t/4Q3xNwRdLyeO
https://www.screencast.com/t/BCDXIfDc0T
https://www.screencast.com/t/BCDXIfDc0T
https://www.screencast.com/t/r1b79g4G
Also if you want to do not loss this change in theme files you can make this in child theme
Hope this will help you.
Thanks.
Hi,
You could do that if it’s required. A code like this entered in the theme or child theme functions file should remove the cloud templates menu from the dashboard
add_action( 'admin_init', 'remove_menu_pages' );
function remove_menu_pages() {
if ( current_user_can( 'editor' ) ) {
remove_menu_page( 'edit.php?post_type=tdb_templates' );
}
}
Thanks
Hi,
The easiest way is with css, but if you want and have developer skills, you can try to make a custom archive page that call a custom loop, or even to “hook” a file theme in child, you can try the both way, and see the results.
Thank you for your understanding.
Hi,
1. Maybe with a plugin that would be possible. With a plugin that can provide a shortcode which you can enter in the cloud post template for example, in a text element next to the post sharing
– https://www.screencast.com/t/9tImhs8CMT
2. For a specific menu item it could be done with some CSS, like in this topic
– https://forum.tagdiv.com/topic/coding-question-editing-the-mega-menu-all-feature-editing-block-pagination/
By using the unique ID of the menu item the code will work only in that case. Example
– https://www.screencast.com/t/QucES7VC2I
Code used in example
.menu-item-XXXX .block-mega-child-cats a:first-child {
display: none;
}
3. So you want to remove the last three options from the pull down filter, something like this will do that
– https://www.screencast.com/t/EpK67GiZyax
Simply enter it in the Theme panel->Custom CSS section, it will affect all category pages.
.category .td-pulldown-filter-list li:nth-last-child(-n+3) {
display: none;
}
4. You can display a video in a theme ad spot if that is what you want. This topic is similar
– https://forum.tagdiv.com/topic/youtube-video-or-self-hosted-video-as-an-ad/
Thanks
I’ve got a custom post type for a glossary. On the glossary archive page I’d like to display it with no thumbnail or meta data, display the content rather than the excerpt, and remove the link from the title. Basically on the archive page it just needs to have the title and content displaying in alphabetical order, with 25 posts per page and paging.
What would be the best way to do this? I’m assuming it would be best to do a custom archive page calling to a custom loop? Or can I hook in with a function in my child theme just for that custom post type? I know I can hook in with pre_get_posts to change the amount of posts displayed, but as far as not displaying the other stuff, I’d rather not just hide it through CSS.
I’m not sure why it was made this way, other than I think the dev prior to me on this project was inexperienced. I just wanted to be sure it wasn’t accessing some functionality of a theme I hadn’t seen before.
As it is now, it’s parent page > child page > post, thus breaking the continuity of the post-type which renders null the structure necessary for breadcrumbs to work, correct?
-
This reply was modified 7 years by
robecrews.
Hi,
I’ve look at the filter you link to me, but I do not know how is made, is use child theme, if you can try to contact the website owner.
Thank you for your understanding.
Thanks for your advice. I would much rather rely on a child theme. I instead just used my current child theme file td_category_template_8.php and added a lot of conditional code to display content on specific category pages.
Hi,
There is no need to create a new child theme ( the child theme is use for do not lose the changes make on theme file if you make the update the theme ), you can use the old one with out problems.
Thank you for your understanding.
How can I create my own Category Template? For example, I am already using a Child Theme so I want to make a copy of td_category_template_8.php and create something like td_category_template_88888.php. I do not want to make changes directly in the Child Theme of td_category_template_8.php because I need it for some categories. So I wish to create an entirely new td_category_template_88888.php
Is there a way to do that? Maybe add something to functions.php?
Ok, now is ok, I just need to adjust products number per row/column.
And what about the child theme? Can I used the same, created before the theme’s update? I don’t need to create a new one child theme? I activated it and the sidebar is still ok 🙂
Thanks you
-
This reply was modified 7 years by
afterKa.
Hi,
@Sydney Archdiocese
The result will be the same for codes you want to be loaded in the header, between the head tags. Either enter the code directly in the theme (or child theme if used) header file, or in the theme panel
– https://www.screencast.com/t/99JXi1lzzD
If you enter it directly in the main theme header file it will be lost after a theme update, since all the theme files will be replaced. Entering it in a child theme header file, or theme panel, it will not be lost.
Thanks
Hi,
If I understand correctly you refer at this css tab https://www.screencast.com/t/hnCSLsIqOON , if is so, then is no option to hide or disable the tabs.
You can hide it with custom css , for example Please the below custom css in Newspaper>Theme panel>Custom code>Custom css
.tdc-tabs a:last-child{
display:none;
}
see results:
https://www.screencast.com/t/EsqnG3Xp
For WPBakery
https://www.screencast.com/t/j1dByLMcJg
https://www.screencast.com/t/nT1kJaRl
Hope this will help you.
.vc_ui-panel-header-container .vc_general li:nth-child(2){
display: none;
}
Thank you for your understanding.
-
This reply was modified 7 years by
Calin.
Hi,
1/2/4 Regarding the ads issues, shouldn’t be any problems with Adsense ads. As long as your Adsense accounting is fully approved the ads should be served by Google and be visible at all times
– https://support.google.com/adsense/answer/76228?hl=en
– https://support.google.com/adsense/answer/7584263?hl=en&ref_topic=1391540
– https://support.google.com/adsense/answer/9724?hl=en
– https://support.google.com/adsense/troubleshooter/7049023?hl=en
3/5 If no ads are displayed in the website then it could be that Google is not serving them to your website for some reason.
The mobile theme is a highly simplified version of the website, the performance on mobile will be significantly increased when active. When inactive the same content from desktop will be loaded on mobile.
So browsing with a slow internet connection would benefit if the mobile theme plugin is active.
However regardless of using the plugin or not, you should be able to use the mobile menu. Check in browser inspector console and see if there are any errors that could indicate why the menu can’t be used. Maybe it is a conflict with a plugin, code entered in the theme panel or theme files, child theme, or theme modifications.
6. The height of the top menu or the main menu is affected by the line-height setting
– https://www.screencast.com/t/1sszfdZ75T
Change the value of the line height and the overall height will be affected.
7. The theme doesn’t have any zooming settings, should be as the live theme demo for example
– https://demo.tagdiv.com/newspaper/
How does it look for you exactly? I could take a look at this and the mobile menu issue if you could post a link to the website.
Thanks