No search results were found in Documentation!
Yep, using a child theme, finally realized the culprit was a non-updated header.php. *facepalm*
Why is it that 7 hour code expeditions that never yield results are always 2 second fixes in the end? 🙂
Thanks a ton Lucian. Mobile menu sliding smooth as intended now.
Hi,
Sorry for the delay on which I’m answering. I have check your site and seen your issue and I think is caused by some css.
We recently had a similar issue with a client which was using child theme, applied some custom mortification to it’s site with it without updating it.
This could cause this in your case also, please let me know if you are using the child theme and if so please make sure you update it also and make sure you make a backup before in case something goes wrong.
Here you have a guide on how to use child theme: https://forum.tagdiv.com/child-theme-documentation/
Thanks
Dear Support Team,
as I installed the updates newspaper theme and the child theme, my pages tremble as I scroll down. What should I do to solve this problem?
I also checked other blogs and they are perfectly ok, so it has nothing to do with my notebook.
Here is the link to my blog http://rainbowtoluck.com/
Thank you very much in advance!
hi, here is one of the plugins I mentioned which is supposed to help with tracking down where all the dbase queries are going … I’ve started using this recently to double check myself on stuff:
WORDPRESS QUERY MONITOR PLUGIN:
https://wordpress.org/plugins/query-monitor/
Query Monitor is a debugging plugin for anyone developing with WordPress. It has some advanced features not available in other debugging plugins, including automatic AJAX debugging and the ability to narrow down things by plugin or theme.
Here’s an overview of what’s shown:
Database Queries
◾Shows all database queries performed on the current page
◾Shows affected rows and time for all queries
◾Show notifications for slow queries and queries with errors
◾Filter queries by query type (SELECT, UPDATE, DELETE, etc)
◾Filter queries by component (WordPress core, Plugin X, Plugin Y, theme)
◾Filter queries by calling function
◾View aggregate query information grouped by component, calling function, and type
◾Super advanced: Supports multiple instances of wpdb on one page
Filtering queries by component or calling function makes it easy to see which plugins, themes, or functions on your site are making the most (or the slowest) database queries.
Hooks
◾Shows all hooks fired on the current page, along with hooked actions and their priorities
◾Filter hooks by part of their name
◾Filter actions by component (WordPress core, Plugin X, Plugin Y, theme)
Theme
◾Shows the template filename for the current page
◾Shows the available body classes for the current page
◾Shows the active parent and child theme name
PHP Errors
◾PHP errors (warnings, notices, stricts, and deprecated) are presented nicely along with their component and call stack
◾Shows an easily visible warning in the admin toolbar
Request
◾Shows matched rewrite rules and associated query strings
◾Shows query vars for the current request, and highlights custom query vars
◾Shows the queried object details (collapsed by default)
HTTP Requests
◾Shows all HTTP requests performed on the current page (as long as they use WordPress’ HTTP API)
◾Shows the response code, call stack, transport, timeout, and time taken
◾Highlights erroneous responses, such as failed requests and anything without a 200 response code
Redirects
◾Whenever a redirect occurs, Query Monitor adds an X-QM-Redirect HTTP header containing the call stack, so you can use your favourite HTTP inspector to easily trace where a redirect has come from
AJAX
The response from any jQuery AJAX request on the page will contain various debugging information in its header that gets output to the developer console. No hooking required.
AJAX debugging is in its early stages. Currently it only includes PHP errors, but this will be built upon in future versions.
Admin Screen
Hands up who can remember the correct names for the filters and actions for custom admin screen columns?
◾Shows the correct names for custom column filters and actions on all admin screens that have a listing table
◾Shows the state of get_current_screen() and a few variables
Environment Information
◾Shows various PHP information such as memory limit and error reporting levels
◾Highlights the fact when any of these are overridden at runtime
◾Shows various MySQL information, including caching and performance related configuration
◾Highlights the fact when any performance related configurations are not optimal
◾Shows various details about WordPress and the web server
◾Shows version numbers for all the things
Everything Else
◾Shows any transients that were set, along with their timeout, component, and call stack
◾Shows all WordPress conditionals on the current page, highlighted nicely
◾Shows an overview including page generation time and memory limit as absolute values and as % of their respective limits
Authentication
By default, Query Monitor’s output is only shown to Administrators on single-site installs, and Super Admins on Multisite installs.
In addition to this, you can set an authentication cookie which allows you to view Query Monitor output when you’re not logged in (or if you’re logged in as a non-administrator). See the bottom of Query Monitor’s output for details.
Hi,
No, as the td_menu file isn’t editable via child theme. You should make a copy of the file you want to change so you can revert if some thing goes wrong and make the changes in the main theme.
Thanks
I’ve run into this too. I create a similar function named child_… and have been lucky enough that all references to the functions are in child-editable files, so I just make them use child_… instead.
In child_… I usually just catch the special case I have in mind and then pass everything on to the parent function again, to prevent having so many revisions in the child theme that it not only survives updates but is impervious to them. :p
Thank you for your reply. Does the code modification mean that I should create a child theme?
Thanks
I think some things can’t go into the child theme due to the changes that come up with sliders, visual composer, and mega-menu kinds of things.
In our case we just hack the main templates; keep a cheat sheet, and then skip theme version upgrades to every other one.
Hi,
First of all thanks for a great theme. We have run into a slight issue starting our development though… We would like to use a child theme under Newspaper to retain the ability to upgrade the parent theme as new versions come out. We noticed you provide a child theme template to make this easier. However it seems much of the code in functions.php and elsewhere is not wrapped in pluggable functions – if(function_exists(…)) – which would enable us to override the entire function, and also get_template_directory() is used extensively instead of get_stylesheet_directory() which would check the child theme directory structure for a file before reverting to the parent theme.
It seems like this makes it very difficult (impossible?) to use a child theme effectively. Is this correct? Or have we missed something? Any help would be much appreciated.
Cheers,
J.R.
I’m using Newspaper Child Theme and I’ve added code lines to functions.php in Child Theme, everything seems ok except search
still http://www.futbolne.com/ara (ara means search) gets 404 error. (Also /search didn’t work before changing)
Any suggestion for it?
Done, Lucian.
I was doing it in the child theme. But I suppose I have to do it in the main theme folder.
Just one question. With this code, when there is an image with no alt tag, the title of the post is included as alt tag. Is there anyway to change it and put the same title than the image, instead of the title post?
Thank you very much.
Hi,
I edited td_module_slide_big.php in a child theme so I could give it my own list of posts (different kind of query from the ones normally offered). But what if I don’t want to overwrite it? How can I duplicate the module instead, put my edits in the copy, and add it to the VC panel?
Thanks!
Looks like the CSS isn’t loading for your site. Be sure to possibly upload the theme via FTP to ensure all the files are actually up on the server. I personally have a lot of problems with *all* themes installing via ZIP method. FTP ensures all files are uploaded individually from your hard drive to your website. I don’t use child theme, so generally best to start with activating the MAIN version of the theme.
If using any caching — including in your web browser — you may have the old style.css “cached” and so not loading the new styles in your browser.
Well, I haven’t the theme 10 minutes and I already have an issue, lol. I swear I am not going to be the problem child. Whenever I buy a new theme I always test in on a different site on the same server. When I uploaded the them and activated it, I received this error-Parse error: syntax error, unexpected $end in /home/jolynch/public_html/techgirl.today/wp-content/themes/Newspaper/includes/modules/module_modifier/td_module_blog.php on line 784
You can see it live here:
http://techgirl.today/
The blog it needs to go on already has existing content and can’t be down at all. So I need to know how to fix this just in case it happens there because both blogs are on the same host server.
Thanks so much!
Bobbie
Hi,
1. That is because you logo it’s at 65px height, you can fix this using this custom css in theme panel > custom css field: http://screencast.com/t/6SpPjfGIz7F
.header-logo-wrap {
margin-top: 25px;
margin-bottom: 27px;
}
.header-logo-wrap img {
padding-top: 20px
}
2. You need to add &subset=latin,latin-ext in case you use the speed booster plugin which uses those fonts, we will consider this, until then you can copy the functions.php file inside you child theme and add the latin extended support there. You can read how to do this following this guide: https://forum.tagdiv.com/child-theme-documentation/
3. You can do it like this: https://forum.tagdiv.com/topic/move-comments-above-similar-articles/#post-24724
4. You can a new sidebar and set it only for bbpress forum template like this: http://screencast.com/t/6Vc9ISLruES
Then you can add your widgets there: http://screencast.com/t/ECEMy9Licix
5. It can be due to the theme as the theme overwrites the bbpress templates and restyles them, you could try to translate it from theme panel > translation and the ones you can edit and find the missing words here: http://screencast.com/t/XgcJXFfTKe and replace them from there.
Regarding page speed you can follow this forum topic as there have been many issue debated here and you can find solution for your issue there: https://forum.tagdiv.com/topic/pagespeed/
You can also follow this guide: https://forum.tagdiv.com/how-to-make-the-site-faster/
Thanks
Hello,
my web site is http://www.outdoorhaber.com
First issue:
As you will notice the 728px adsense ad at the top doesn’t fit in header. Header alignment doesn’t work, because it also takes the logo up or down when I give -/+ pixels.
Second issue:
I didn’t find open sans latin extended in custom topography section. I noticed this post https://forum.tagdiv.com/topic/problem-with-the-font-on-big-slide/ but I don’t get it, why don’t you simply add native latix-extended support to the theme? latin-extended languages are widely used. I don’t want to update functions.php everytime I update the theme. I simply want to select it from a list.
Can you please add open sans latin-extended support from theme interface in the next version.
Until then, can you please tell me which code to add to functions.php in “child theme”
Third issue:
http://www.outdoorhaber.com/north-face-mens-evolution-triclimate-ceket-inceleme/ As you can see here, comments are at the very bottom of the page. How can I take them above “related articles” section ?
Fourth issue:
http://www.outdoorhaber.com/forum/ I want to put different widgets only to bbpress pages. (login widget, etc) how do I do that?
Fifth issue:
http://www.outdoorhaber.com/forum/ Bbpress was Turkish before I switched to newspaper theme, now it is English. What do you think has happened? Can it be something with Newspaper theme? (if not please ignore this issue)
I have other, speed optimization related questions, but let’s leave them for another day. Congratulations for creating such a great, clean theme.
Thanks in advance.
Hello Lucian,
Thanks for your help! It was kind of a my mistake. I forgot I’ve created child theme, and copied there loop-single.php
So, I’ve made all changed to main loop-single.php and it didn’t have any effect, cuz it was using loop-single.php from the child theme.
I’ve edited loop-single.php in the child theme, and everything is working fine!
Thanks, once again.
Milan
See the codex; you can have more than one WordPress install use the same database, you simply assign a different “prefix” in your wp-config.php file. You need one child theme folder PER WordPress/theme install.
You really may wish to review the WordPress official docs, as this kind of info, and *many* other things are covered in detail:
http://codex.wordpress.org/Installing_Multiple_Blogs
On the web use child theme and following the instructions in section 4. Remove blocking render css / js – using the Speed TagDiv Boosterplugin (Advanced Users), i added the following to the file (root>carpetamiweb>wp-content>plugins>td-speed-booster.php)
// Informe Page Speed mejora
$this->move_style_to_footer(‘contact-form-7’);
$this->move_style_to_footer(‘rs-plugin-settings’);
$this->move_style_to_footer(‘rs-plugin-captions’);
$this->move_style_to_footer(‘tablepress-default’);
$this->move_style_to_footer(‘js_composer_custom_css’);
$this->move_style_to_footer(‘tablepress-responsive’);
// JS por Informe Page Speed mejora
$this->move_js_to_footer(‘jquery’);
$this->move_js_to_footer(‘mab-actionbox-helper’);
If we page speed https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2F zapatosdebaile24.com%2Fes%2F&tab=desktop
Remove the JavaScript blocking content display:
http:// zapatosdebaile24.com/…-includes/js/jquery/jquery.js?ver=1.11.1
http:// zapatosdebaile24.com/…s/jquery/jquery-migrate.min.js?ver=1.2.1
I keep getting some things unresolved and do not understand why
In addition to talking about these issues that also need to be optimized and have not ecnontrado how: Minificar CSS
Minificar JavaScript
Specifying browser cache
HTML Minificar
Can you help me?
Hi,
Thanks Christopher!
@Julien As Christopher wrote the child theme do use the same database and you can try to search for a plugin to control the ads but not sure if exists one that could help you not display ads for donors.
Thanks
Hi,
Thnaks Christopher!
@dewara Please take some time and go over the documentation as you will find there many useful tips on how to best use the theme.
Newspaper documentation: https://forum.tagdiv.com/newspaper-documentation/
Child theme documentation: https://forum.tagdiv.com/child-theme-documentation/
Thanks
child themes always point to their parent; basically they are a way to “over ride” the parent theme with templates, CSS, etc., but don’t directly change the dbase per se. But, yes, they share the same database as they are only a clever way to make customizations and then redirect to the main parent theme for everything else. The parent theme controls the dbase login/connections from the wp-config.php file.
For info on how WordPress works, always always always a great place to start is the massive online WordPress official “codex” like here:
http://codex.wordpress.org/Child_Themes
TIP: Google search anything WordPress related with coded on the end.
e.g., child themes codex
-
This reply was modified 11 years by
simchris.
URL: http://xxy.fr/
Hi!
Thanks for the nice work! I love the Newspaper theme.
There is something I still would like to know: do child themes use the same database?
I mean, if I change some options like “ads” in Newspaper-child-theme1, does it also affect Newspaper and Newspaper-child-theme2?
In fact, I would like to display the website without the ads for people donating, but I am not sure I can do that because when I try to remove ads from one child-theme, it takes effects for every child-theme.
Is there a way to do so?
Cheeds!
Julien
Hi, best bet … don’t use demo content. Also don’t recommend using child theme until you’re more experienced.
With the Newspaper theme activated, go to bottom of the main admin panel for the theme, and note the section “import pre-defined styles” …. choose the “style” you like from the demo site, then activate that; and basically it loads all the CSS/fonts/layout choices from the demo “tech” … you then customize THAT version however you wish.
Hope that helped 🙂
Hello team tagdiv
First of all i congratulate everyone to build powerful magazine style wordpress theme.
Hugs and kisses for everyone 😀
I have played with newspaper theme options for the past couple of days and i found some nice features as well small lack of features, please help me to troubleshoot the same.
1. There are plenty of google fonts added with theme, how can i remove them via child theme without touching core wordpress theme files? In another thread, you have replied that, comment the google font files in master theme functions.php. But its not advisable. How can i remove the google fonts by using child theme?
(Note : If you provide a option to disable google web fonts in theme panel itself, will be most welcome.)
2. I am using child theme in my website (under development) and its working well till newspaper 4.4, but after replace the newspaper 4.5 theme, i am unable to view the theme panel settings drop down. Just refer the screenshot
http://i.share.pho.to/f913a8c5_o.png
Expecting your kind reply asap
With regards
Selvam.S