- NewsmagChild theme support
- NewsmagWhat’s included in Newsmag theme package
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
Hello 🙂
I want to insert custom search bar in the header and
login menu below main menu like this site
http://naver.com
I copied header.php from mother to child theme folder location and inserted some codes by adding-search-bar-guide
but everytime failed..
Which file should I edit for this task? if you don’t mind..
Could you please inform some codes or links for this?
Thank you very much 🙂
The child theme support included in our themes is intended for developers to modify core parts of the theme without modifying the actual theme. This allows you to keep updating the theme without loosing your changes.
Hi,
We are encountering a problem with the 7 days popular posts.
We set up the theme as showing for 7 days, where we modified the block- (use 7 day post sorting, enabled) and the post settings (ajax view count, enabled) for displaying it for 7 days. We dumped the complete cache of the site (w3 total cache), but when we reload the website, the site doesn’t display any posts at all in the block where we have the popular posts displayed.
When we switch it to all time, it does.
We havent used custom code in the site and the site runs on the main (not on child)
Any hints on where to find this issue?
Hi,
The website could have security problems, if the code simply appears in the theme functions file without you entering it there. Please follow the suggestions from this topic concerning security
– https://forum.tagdiv.com/topic/tutorial-good-basic-security-practices/
– https://codex.wordpress.org/Hardening_WordPress
Scan the website and database for malware using suggested methods. If you have a child theme, disable it. Deactivate all plugins and re-install the theme by FTP
– https://forum.tagdiv.com/how-to-update-the-theme-2/
Then install only the plugins form the official theme package. Do not use any custom code in the theme panel sections, or directly in the theme files. Install security plugins that can help in these situations.
Thanks
Hi,
A child theme is provided in the theme package, it is useful when you want to make more complex modification to the main theme files
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
More information about child themes in general here
– https://codex.wordpress.org/Child_Themes
– http://www.wpbeginner.com/beginners-guide/wordpress-child-theme-pros-cons/
For minor customization you can use the Custom code section in the theme panel.
Thanks
Can Child theme increase website speed and performance?
i downloaded Newspaper 8 latest update from themforest.
i seem, child theme folder located under code folder. After upload folder via cpanel it’s showing Newspaper 7 child theme.
is it okay on activating it. or Newspaper 8 child this available on another place.
Hi,
I have checked your website and it seems your images are stuck in opacity 0. This usually happens on a js error caused by plugins or customization or other external optimization tools.
Please disable all plugins except visual composer, clear cache and reset CDN files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functioning of the theme.
Thank you!
Hi,
The Social counter is a plugin created specially for the theme, it cannot be a matter of incompatibility between them.
Check the theme system status and make modifications to the parameters mentioned in this guide, if necessary contact the hosting provider and they might do it for you
– https://forum.tagdiv.com/system-status-parameters-guide/
The theme requirements are mentioned here
– https://forum.tagdiv.com/requirements-for-newspaper/
Please re-install the theme by FTP
– https://forum.tagdiv.com/install-via-ftp/
Deactivate all other plugins except theme plugins (re-install theme plugins as well), do not modify anything in the theme files, or add custom code. Deactivate the child theme is you use one.
If there is still a problem please ask your hosting provider for the error logs possibly created, and explain the situation to them. They could be able to identify the exact cause.
Please let us know the results.
Thanks
Hi,
If you make the modification through a child theme, it will be safe after a theme update
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Or make the modification again after the theme update, if a child theme is not used. You could also search for a plugin that could do this.
There might be changes in this matter in future theme updates, but I could not say for sure. Sorry for any inconvenience.
Thanks
Hi I already created child-theme and wanted to show author image at single-post too, If u look here https://www.veteranstodayarchives.com/author/jadallah/ at author page it’s showing, which I added in parts/page-author-box.php, but it’s not working on single post author description
thanks
Hi,
Each post template has corresponding files, as shown above. You will have to modify the post template used. That can be done through a child theme as well, so you do not loose the customization after updating the theme
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Please let us know if you need any further help.
Thanks
Hi,
Something is not functioning properly on the post page. When a background is set the theme will transform the website into the boxed version in order to display the background color or image. That is not happening on that post page. This could happen due to customization maybe through a child theme or custom code.
I could give you a code as a quick fix to resolve the situation
– https://www.screencast.com/t/k8DlD08rhNM
Enter it in Theme panel->Adcanced CSS in the desktop section, so it applies only for desktop
.td-boxed-layout .td-main-content-wrap {
width: 1164px;
margin-left: auto;
margin-right: auto;
}
Thanks
Hi,
You could modify the number of products displayed on the shop page, by changing the number here
– https://www.screencast.com/t/2Na6EQwjfj
Or through a child theme if you use one, by adding this code to it’s functions file
– https://docs.woocommerce.com/document/change-number-of-products-displayed-per-page/
Thanks
Hi,
That file cannot be modified through the child theme, these are the only files that can be customized with it
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
You will have to make those changes directly to the theme file.
Thanks
Hi,
I have inspected the website and I see the issue. Please check the theme panel Custom HTML section and see if the code is located there. Check the other sections too if you have code in them. If you entered code in the theme directly in the files or through a child theme, check that as well.
Thanks
Hi,
Best way to check main theme version would be in the theme panel, or in the WordPress theme settings
– https://www.screencast.com/t/rvVXfreXg5
The child theme as well, in the theme settings
– https://www.screencast.com/t/s3aHoHUnua
The child theme version provided in the theme package is 7.7c, that is not important. The child theme will work properly. What needs to be taken into consideration is the custom code you use inside the child theme. Each main theme update might add, remove or modify theme files, so the child theme may need modifications. That can only be verified through testing.
Thanks
Hello there,
we are trying to use child theme now due an altered design but we can’t change metaboxes in /includes/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php in the child theme since it doesn’t overwrite the original theme.
In a newsmag thread they changed it in the parent theme as you can see here but it doesn’t work with child themes…
https://imgur.com/a/CGrkK
Is there any way to change these parts in the child theme and overwrite them in the parent theme?
Hello c2clinks,
Need for what? Notice that the child theme is an optional way for theme customization. Our theme works as expected without any child theme installed on it. For more information about this case, please check here -> https://codex.wordpress.org/Child_Themes and here -> https://forum.tagdiv.com/newspaper-theme-support/
Thanks for your understanding!
Hmmm… Do I need to build up totally new child theme and move step by step all custom modifications to new one or will it work old child theme with new one too?
Usually when going to full dot upgrades, it’s an entirely new theme, and so you also need to update the child theme as well. Meaning you need an 8x child theme with 8x parent.
Newspaper 8 is installed but for some reason our child theme still thinks it’s version 7.8.1
I have not logged to server yet to check the folders, thought that I look around here and ask first what may cause it.
Hi,
You will have to modify them in the actual theme files, through a child theme it will probably not work. The only files that can be customized with a child theme at the moment are mentioned in this guide
– https://forum.tagdiv.com/the-child-theme-support-tutorial/
Modify them there and check the results.
Thanks