- NewspaperHeader Builder
- NewsmagHeader styles
- NewsmagHeader ads
- NewspaperHeader ads
- NewspaperHeader styles
- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
Hi,
Please use this custom css: http://screencast.com/t/x8ZESwZ7
.page .template6-header {
top: 700px;
}
.page .td-full-screen-header-image-wrap, .page.single_template_6 .td-header-wrap {
height: 700px !important;
}
Thanks
Hi,
1&2 Search on mobile view: http://screencast.com/t/Gjz1QtC4zwA
@media (max-width: 767px){
#td-top-search {
top: 0px !important;
right: -56px !important;
}
.header-search-wrap .dropdown-menu{
right: -277px!important;
}
.header-search-wrap .dropdown-menu:before{
left: 32px!important;
}
.header-search-wrap .dropdown-menu .btn{
right: 269px!important;
}
}
3. I see that you managed to solve that: http://screencast.com/t/pKRV7x9KSv
I’d like to change the font sizes for:
– Category in posts: found the font, but how do I change the colored block to fit?
– Font size for the comments/views numbers at the top of posts
– Excerpt font size (and font) for the excerpts on the homepage
Thanks.
site: sunnyinkabul.com
Hi,
I do not use adsense ads, and ads code from my provider is not responsive. when I paste the orizontal 728 banner (in header) it displays well on desktop but it’s cutted on the right for tablet or mobile. How can i Fix That?
thanks.
Hi,
Can you please tell me how to reduce the height of the homepage post block (td_homepage_full). I tried to add this code (picked up in forum):
.td-big-slide-background, body.single_template_4 #td-full-screen-header-image, .backstretch {
height: 700px !important;
}
The code only seems to reduce the image – not the homepage post block height.
Thank you.
Hi,
You can change header style to “Blog style – full text logo + menu” and I think that there wont be issues on moblie view. Any if you want to use Style 3 you can use this custom css:
To hide the main menu and place the search button on top for mobile view: http://screencast.com/t/Q2PImmCmYDWG
@media (max-width: 767px) {
#td-top-menu .sf-menu {
display: none;
}
.blog-stack #td-top-search{
right: -50px;
top: -75px;
}
.header-search-wrap .dropdown-menu {
left: -56px!important;
}
}
For tablets please use this custom css in Theme Panel > Custom Css: http://screencast.com/t/vMf2QV8vpxMx
@media (max-width: 1018px) and (min-width: 768px){
.blog-stack .sf-menu > li > a{
padding: 0px 5px 0px 5px;
}
.blog-stack .sf-menu a.sf-with-ul {
padding-right: 25px;
}
.blog-stack .sf-menu > li > a{
font-size: 12px;
}
}
Hope this helps!
Thanks!
Hi,
The rest aren’t included in the demo. The demo package was designed to help you in your development project and to better understand our product. Please go trough our documentation and see how you can create menus/headers.. and how to use theme’s features and please consider that you can also search this forum for answers as many issues/questions.. were resolved here which can help you.
Thanks
Hi,
You can try to set you header to header style 3 then use the custom css from below to get this result: http://screencast.com/t/WPtJGwplM
@media (max-width: 767px) {
.td-menu-wrap #td-top-menu {
display: block !important;
}
#td-top-mobile-toggle {
display: none !important;
}
#td-top-search {
width: 40px;
position: absolute;
top: 0px;
right: 16px;
}
.header-style-3 .td-logo img {
position: initial !important;
width: 180px !important;
}
}
Please also note that the main menu hasn’t been designed to be used on mobile screens so you might need additional customization to it.
Regarding the second questions, in the customization above I have removed the mobile menu button as I believe you don’t need it anymore.
The icons is added using the background-image property via css: http://screencast.com/t/k6hyD03kHex You can also alter tit via css and change it or enlarge it.
Thanks
Hi,
A css code form our theme used just on this post template also applies to livefyre comments and adds an margin, you can use this custom css to fix this: http://screencast.com/t/mTq6vZIJYD5
.single_template_4 #livefyre-comments header {
margin-bottom: 0px
}
Thanks
Did you add the items to your htaccess file ? Doesn’t look like it.
You need to do EVERYTHING ELSE before messing with the speedbooster plugin customizations, which are optional and entirely up to you.
You need to take care of ALL the other issues EXCEPT for “render blocking CSS/javascript” first or the latter will do nothing for your site. That step is done LAST to get the last couple of points, not the 25-30 points you’re down right now due to all the other issues that ONLY YOU can manage.
Web server optimization is up to you, and is related to optimizing WORDPRESS, not the theme. Tech support here is for the THEME, and not to teach you how to manage your web server … folks here are helping on that as time permits, but you have to take the initiative to LEARN how to do that — WordPress has been around 10 years — lots of tutorials on the web. “How to optimize WordPress for best Pagespeed” … simple search in Google, for example.
And all the links in this thread — SHOW YOU a number of things you should do, but you need to do that.
Nobody ignoring you — you need to fix your own house, that is YOUR job to tackle.
You’ve read the docs … well, now you need to actually *do* some of the guidelines or they won’t work.
Fix your htaccess file; make sure you have compression running, and expiration headers; optimize your images; minimize external elements loading on your site; etc. — ONLY YOU can do that stuff. If it means nothing to you, then you likely will need to hire a developer to help you.
Hi, how i can add for example 2-3 random banners in one ads position?
Thanks!
My google webmaster tools for my website: http://www.equestrianempire.com is having a server error that says:
Server Error 500: wp-content/themes/Newspaper/
I am hosting with WP-ENGINE and they have told me that the error is a 500 error and upon looking at my apache error log, they have found the following:
[Tue Jan 27 12:14:22 2015] [error] [client 72.173.87.182] Directory index forbidden by Options directive: /nas/wp/www/sites/aarontaylor/wp-content/themes/Newspaper/js/, referer: http://www.equestrianempire.com/rider-killed-by-horse-she-raised-since-birth/
[Tue Jan 27 13:58:32 2015] [error] [client 184.20.57.174] Directory index forbidden by Options directive: /nas/wp/www/sites/aarontaylor/wp-content/themes/Newspaper/js/, referer: http://www.equestrianempire.com/10-things-you-give-up-when-you-start-to-ride-horses/
[Tue Jan 27 15:43:16 2015] [error] [client 192.64.61.159] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 1544ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(1544) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(1544) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(UPDATE wp_postmeta SET meta_value = ‘549’ WHERE post_id = 1163 AND meta_key = ‘post_views_count’ /* From [www.equestrianempire.com/wp-admin/admin-ajax.php] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php:452] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(UPDATE wp_postmeta SET meta_value = ‘549’ WHERE post_id = 1163 AND meta_key = ‘post_views_count’ /* From [www.equestrianempire.com/wp-admin/admin-ajax.php] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php:452] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(UPDATE wp_postmeta SET meta_value = ‘549’ WHERE post_id = 1163 AND meta_key = ‘post_views_count’) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1799]\n#7 wpdb->update(wp_postmeta, Array ([meta_value] => 549), Array ([post_id] => 1163,[meta_key] => post_views_count)) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/meta.php:248]\n#8 update_metadata(post, 1163, post_views_count, 549, ) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/post.php:1959]\n#9 update_post_meta(1163, post_views_count, 549) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php:452]\n#10 td_ajax_update_views()\n#11 call_user_func_array(td_ajax_update_views, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(wp_ajax_nopriv_td_ajax_update_views) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin-ajax.php:95]\n, referer: http://www.equestrianempire.com/rider-killed-by-horse-she-raised-since-birth/
[Tue Jan 27 15:43:16 2015] [error] [client 192.64.61.159] [WPE Monitoring] Slow mysql_query() call was running query:\nUPDATE wp_postmeta SET meta_value = ‘549’ WHERE post_id = 1163 AND meta_key = ‘post_views_count’ /* From [www.equestrianempire.com/wp-admin/admin-ajax.php] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php:452] */, referer: http://www.equestrianempire.com/rider-killed-by-horse-she-raised-since-birth/
[Tue Jan 27 15:54:06 2015] [error] [client 204.101.161.159] Directory index forbidden by Options directive: /nas/wp/www/sites/aarontaylor/wp-content/uploads/, referer: bing.com
[Tue Jan 27 17:29:19 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 2685ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(2685) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(2685) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_bp_groups_groupmeta) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:19 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:30 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 1483ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(1483) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(1483) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_options /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_options /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_options) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:30 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_options /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:33 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 1586ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(1586) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(1586) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_bp_groups_groupmeta) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:33 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_bp_groups_groupmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:37 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 4033ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(4033) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(4033) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_bp_groups_members /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_bp_groups_members /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_bp_groups_members) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:37 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_bp_groups_members /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:37 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 7353ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(7353) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(7353) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_postmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_postmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_postmeta) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:37 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_postmeta /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:39 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 1629ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(1629) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(1629) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_ewwwio_images /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_ewwwio_images /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_ewwwio_images) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:39 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_ewwwio_images /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:39 2015] [error] [client 71.57.155.98] [WPE Monitoring] Stopwatch php.pod-3132.function.mysql_query.duration exceeded 1000ms. Was: 1636ms.\n#0 wpe\\measure\\LoggingStopwatch->logStackTrace(1636) called at [/nas/wp/www/common/production/measure.php:198]\n#1 wpe\\measure\\LoggingStopwatch->lap_ended(1636) called at [/nas/wp/www/common/production/measure.php:134]\n#2 wpe\\measure\\Stopwatch->lapstart() called at [/nas/wp/www/common/production/measure.php:152]\n#3 wpe\\measure\\Stopwatch->stop() called at [/nas/wp/www/common/production/statsd_monitoring.php(256) : runkit created function:19]\n#4 mysql_query(OPTIMIZE TABLE wp_term_taxonomy /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, Resource id #28) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1663]\n#5 wpdb->_do_query(OPTIMIZE TABLE wp_term_taxonomy /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/wp-db.php:1567]\n#6 wpdb->query(OPTIMIZE TABLE wp_term_taxonomy) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128]\n#7 optimizeTablesQuick(yes) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:528]\n#8 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php:76]\n#9 include_once(/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-admin.php) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize.php:76]\n#10 wp_optimize_menu()\n#11 call_user_func_array(wp_optimize_menu, Array ([0] => )) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-includes/plugin.php:496]\n#12 do_action(toplevel_page_WP-Optimize) called at [/nas/wp/www/cluster-3132/aarontaylor/wp-admin/admin.php:212]\n, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:29:39 2015] [error] [client 71.57.155.98] [WPE Monitoring] Slow mysql_query() call was running query:\nOPTIMIZE TABLE wp_term_taxonomy /* From [www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize] in [/nas/wp/www/cluster-3132/aarontaylor/wp-content/plugins/wp-optimize/wp-optimize-main.php:128] */, referer: http://www.equestrianempire.com/wp-admin/admin.php?page=WP-Optimize
[Tue Jan 27 17:33:18 2015] [error] [client 192.171.117.234] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/index.php on line 6
[Tue Jan 27 17:34:36 2015] [error] [client 71.57.155.98] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/index.php on line 6
[Tue Jan 27 17:35:09 2015] [error] [client 71.57.155.98] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/index.php on line 6
[Tue Jan 27 17:36:34 2015] [error] [client 150.70.173.48] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-3132/aarontaylor/wp-content/themes/Newspaper/index.php on line 6
I have no made any changes or modifications to the code and I’m very unsure of what to do, as I do not understand PHP. Thank you!
Hi,
Please use this custom css int theme panel > custom css filed: http://screencast.com/t/6kApVBQFRHfU
/* responsive portrait tablet */
@media (min-width: 768px) and (max-width: 1018px) {
.sf-menu > li > a {
padding-left : 4px !important;
}
.sf-menu > li > a {
font-size: 13px !important;
}
.top-header-menu li a {
padding: 0px 5px 0px 5px;
}
}
Thanks
Hi,
The logo issue you have is because you use a large logo img and which on mobile screens id set to a 180px width and behaves as in your case.
You can adjust it and make it look better via css, like this: http://screencast.com/t/vrjChmttUD67
You also need to remove or change the header color, use the css below and set the color as you like. It will have to be different form blue because the logo is also blue and different from white because the menu icon and search icon are also white.
You can also set the menu color to black from theme panel: http://screencast.com/t/nUvQUIFd
@media (max-width: 767px) {
.td-boxed-layout .td-menu-placeholder .td-menu-background .td-menu-wrap {
background: red !important;
}
.header-style-3 .td-logo img {
width: 380px !important;
top: -1px !important;
}
}
@media (max-width: 500px) {
.header-style-3 .td-logo img {
width: 300px !important;
top: 5px !important;
}
#td-top-search {
right: -40px !important;
top: -57px !important;
}
}
@media (max-width: 400px) {
.header-style-3 .td-logo img {
width: 250px !important;
top: 8px !important;
}
}
The itemprop="interactionCount" meta tags are added and used for the comments counter from modules: http://screencast.com/t/MgwNRmvLQLzi
To remove it please comment this line: http://screencast.com/t/3iTGxtlTs
Thanks
Hi,
I also tested this and found that “top-submenu text color” doesn’t work and it doesn’t have an option for background submenu. I have added on our todo list and we will add it in next theme versions.
If you have referred to another issues with top menu please report this.
Also you can use this custom css till we solve the problem: http://screencast.com/t/Dtj9bvIC9
.td-header-style-4 .td-header-sp-top-menu .sub-menu a{
color:red;
}
.td-header-sp-top-menu .top-header-menu .sub-menu {
background-color: yellow;
}
Sorry for inconvenience!
Thanks
When using header style 4, the top bar goes full width and turns dark gray with white text. From that point, only the settings for link hover color work.
Can we get some settings to affect the colors used for that top bar in full width? Background and text color would be enough, plus the other settings already there.
Hi,
Thanks Chris!
@frubun
You can use header styles 3 or 6, upload your logo at the size you want it as it’s set to be displayed and fill the whole containers width(max 1074px).
Thanks
Hi,
This happens because you use your header/main menu: http://screencast.com/t/YlDWxUtD which contains the homepage icon as top menu and the icons are not supported in the top menu: http://screencast.com/t/Kb11foWTMo
You need to edit your top menu and remove the home icon: http://screencast.com/t/t10f2sKFqOF
Thanks
Can you please say me is it true what i am doing?
1. Enabling Gzip compression and Set the Leverage Browser Caching
my htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.vidzo.ru\.ru$
RewriteRule (.*) http://vidzo.ru/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://vidzo.ru [R=301,L]
RewriteRule ^page/([0-9]+)(/?)$ index.php?cstart=$1 [L]
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
is it ok?
2. Remove render blocking css/js – using the TagDiv Speed Boosterplugin (Advanced Users)
this is my code that i get from functions.php but i have a problem with this and i can’t to do it right can you please say me codes for my saite and where i shall add them?
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
dashboard | /wp-admin/js/dashboard.min.js
customize-loader | /wp-includes/js/customize-loader.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
wp_social_popup_js | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/js/plugin.js
ilentheme-script-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.js
media-editor | /wp-includes/js/media-editor.min.js
media-audiovideo | /wp-includes/js/media-audiovideo.min.js
mce-view | /wp-includes/js/mce-view.min.js
image-edit | /wp-admin/js/image-edit.min.js
wpseo-admin-global-script | http://vidzo.ru/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
wp_social_popup_css_admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/css/admin.css
ilentheme-styles-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.css
media-views | /wp-includes/css/media-views.min.css
imgareaselect | /wp-includes/js/imgareaselect/imgareaselect.css
wp-color-picker | /wp-admin/css/color-picker.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
wpalchemy-metabox | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
Hi,
Try to use !important as: .sf-menu > li > a:hover {border-bottom: 4px solid #4db2ec !important;} or a more specific selector to overwrite it like: .menu-td-header-container > .sf-menu > li > a:hover {border-bottom: 4px solid #4db2ec;} as using the same selector will not overwrite it. You can also use the main theme custom css filed from theme panel to add your custom css as updating the theme will not affect it and the changes you’ve made via custom css will remain after an update.
Thanks
-
This reply was modified 11 years by
Lucian.
Hi,
Please use this custom css in Theme Panel: http://screencast.com/t/bSuCID85xdt
.td-subcategory-header .td-wrapper-pulldown-filter {
display: none;
}
Thanks!
Hi i have solve this problem, i change code in header.php before, now i have any problem, why my logo not view responsiv?its too small when open with mobile device
Regards
Thank you for the reply ChriS.But for me I only want to rewrite the title, using seo plugin is a so much waste. And,I don’t like that plugin:).I don’t think it is better for SEO than simply messing with <title> </title> in header.
-
This reply was modified 11 years by
winnieji.
When I used to do my own WordPress themes, I’d put in all the applicable coding and format in the header.php file and QED. However with modern themes with different kinds of headers, customizations, theme panels, etc., it can be a pain in the butt.
Frankly, I just use the Yoast WordPress SEO plugin the past 2 years, and this has worked perfectly for exactly what you’re trying to do. Really. If you only use it for that, it works very well. 🙂
Check your site with GTMetrix.com and then follow all the suggests, in particular gzip/deflate, expiration headers, image optimization, remove versioning, minify your style.css, don’t use child theme, use fast server/hosting, remove all themes and plugins you’re not using except the latest twenty-fifteen theme, optimize your wp-config.php file to include absolute paths to your domain name, optimize font loading, limit loading external elements (e.g., social counters slow down page vs simple share buttons), limit number of ad networks (I’ve seen some people with six ad networks each loading java, css, and tracking code…. it’s ‘bloat’), use a local image for gravatars, etc.
I cover a number of these issues in detail in the sticky pagespeed thread. Look for my posts, and probably easier to go backwards from the end of the topic, vs from the start a year ago! 🙂