- NewspaperHow to Use tagDiv Cloud Library
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspapertagDiv Cloud Library Plugin
- NewspaperCloudflare (CDN)
- NewspaperSingle External Shortcode and External Shortcode
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperModules Builder in Newspaper Theme
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a frontend submission form
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperHow to use the Google Maps API
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperHow to insert a block inside the content of a post
- NewspaperHow to setup the Contact Page
- NewspaperPosts Loop Element
Hi! We launched our new version of the site based on Newspaper theme.
We are still having issue with the speed, especially on mobile layout.
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.rnbjunk.com%2F
We are using W3 as suggested, only Page Cache and Browser Cache activated. MaxCDN, Cloudflare, and Speed Booster TagDiv, with Speed Booster Pack.
Could someone give us assistance?
Thank you
Hi,
I’ve tested the code for the weather report you want and it doesn’t work. I suggest you find another way or another widget to display the weather report on your site. Try to find a plugin like this one: https://wordpress.org/plugins/wp-cloudy/ or similar.
Thanks
Hi,
Have you tried this without any plugins as this cloud also happen due to a plugin. I have also tested this and found no issue as you’ve described and if you don’t use the last theme version which is 1.4 we suggest you update theme and check if this still happens.
Please let me know and also provide your site’s URL so I can inspect this.
Thanks
Here’s a screendump showing it:
https://cloud.creativegroup.dk/public.php?service=files&t=9a4f92968eaaff9fa64fa4367434048b
Also one more question. It seems my menu only works in development mode so I purged my cache in cloudflare but once I turn off development mode it doesn’t work again. Is there a way for me to expedite the purging process?
My Site URL: http://www.droidgoblin.com
This is one issue that has plagued my site for months. As per the developers, it was fixed in the theme several versions ago. However it still doesn’t work for me.
Issue: When sharing posts on Google+, a very small and INCORRECT thumbnail comes up, along with just the post title.
Expected (Correct) Behavior: Post title, along with the correct BIG featured image and meta description/post extract should be displayed.
I tried disabling all plugins with no success. All caches cleared, CDN (previously PageSpeed, now Cloudflare) both disabled.
Switching themes, even to default WP themes fixes the issue, so I know it isn’t something on the server side. Sharing of posts on Facebook works perfectly well too.
Any help in this regard would be much appreciated.
Hi,
maybe it’s not really theme related, but I have to ask.
I want to remove the title attributes (tooltip) from links in the content and sidebar. How can I do that? I have this code…how to extend the code for content and sidebar?
// Remove attribut title
function opt_remove_title_attr($return){
$patterns = array(0=>’# title=\”(.?)\”#’,1=>”# title='(.?)’#”);
return preg_replace($patterns, ”,$return);
}
add_filter(‘wp_nav_menu’, ‘opt_remove_title_attr’);
add_filter(‘wp_page_menu’, ‘opt_remove_title_attr’);
add_filter(‘wp_list_categories’, ‘opt_remove_title_attr’);
add_filter(‘wp_list_pages’, ‘opt_remove_title_attr’);
add_filter(‘wp_tag_cloud’, ‘opt_remove_title_attr’);
add_filter(‘get_archives_link’, ‘opt_remove_title_attr’);
Thank you!
Hi,
The error is from Rocketscript, can you remove it or try this: http://snippets.webaware.com.au/snippets/stop-cloudflare-rocketscript-breaking-wordpress-plugin-scripts/
Thanks!
I’d also like an explanation. I use Cloudflare on my main website, but considering dropping it as sites I run with this theme on the same server (using non recommended js and css minify settings) load to perfection, while my main site loads the content first and then loads themepanel changes (fonts, background colors, etc) a few seconds later. It’s quite annoying.
If I get CloudFlare’s CDN should I disable tagDiv Speed Booster? Or do CloudFlare’s CDN, tagDiv Speed Booster, and W3 Total Cache all work together?
Can you please suggest how i optimise my website on windows cloud server with xampp?? and the specs is 3.5gb of ram and 2 core processor is it ok or not??
Hello team,
My website is http://www.movzio.com can you please tell me how i improve my website pagespeed? i’m using microsoft cloud azure? how i optimize properly currently the page size is 3.3 MB so i can reduce it and load fast??
-Mosam
Hi,
The current icons is added using css and the newsmag font like this: http://screencast.com/t/YTiWaIaWBu
You can do this via css and add the icon as a background image url or you could for eg use font awesome and use the same method to add another icon.
You cloud also do this by editing the header-menu file and add the img icon like this: http://screencast.com/t/PZ6fw3mKSXr
Thanks
Doesn’t work on the demo, nor my site. Disabled all my chrome plugins/cleared cache from beginning of time and purged cache with cloudflare.
Both the sites mentioned above – same issue.
My website in question is : http://ladgeneration.com/
Printscreen of both the demo and my site: http://imgur.com/bzsHIqt
1 and 2 have been resolved.. It seems it was Cloudflare minification problem
But does this mean that I can’t use CDN..?
Also, any help with #3 appreciated
Hi,
just add an exception for the fonts so that you deliver that one file from your server. We are using cloudflare on our test with no problem.
does that mean i can’t use cloudfront cdn if font icons must be from same domain? do you plan to support woocommerce? thank you
installed shop.
when ordering appears incomprehensible code.
Moreover, it appears only in IE.
In Google Chrome’s OK
ie:
http://s017.radikal.ru/i412/1411/d6/7edff2d60762.jpg
google chrome:
http://s57.radikal.ru/i155/1411/c8/cb9203cbeb45.jpg
this is my func file child-theme
<?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';
}
//Удаление цветовой схемы
remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
//Редактирование полей в профиле
function modify_contact_methods($profile_fields) {
// Add new fields
//$profile_fields['twitter'] = 'Twitter Username';
//$profile_fields['facebook'] = 'Facebook URL';
//$profile_fields['gplus'] = 'Google+ URL';
$profile_fields['dopplr'] = 'VK';
$profile_fields['delicious'] = 'Battlelog';
// Remove old fields
unset($profile_fields['google']);
unset($profile_fields['evernote']);
unset($profile_fields['dribbble']);
unset($profile_fields['digg']);
unset($profile_fields['blogger']);
unset($profile_fields['deviantart']);
unset($profile_fields['forrst']);
unset($profile_fields['github']);
unset($profile_fields['googledrive']);
unset($profile_fields['googlemaps']);
unset($profile_fields['grooveshark']);
unset($profile_fields['html5']);
unset($profile_fields['lastfm']);
unset($profile_fields['linkedin']);
unset($profile_fields['myspace']);
unset($profile_fields['path']);
unset($profile_fields['picasa']);
unset($profile_fields['pinterest']);
unset($profile_fields['posterous']);
unset($profile_fields['reddit']);
unset($profile_fields['sharethis']);
unset($profile_fields['slashdot']);
unset($profile_fields['spotify']);
unset($profile_fields['stackoverflow']);
unset($profile_fields['stumbleUpon']);
unset($profile_fields['tehnorati']);
unset($profile_fields['sharethis']);
unset($profile_fields['addthis']);
unset($profile_fields['behance']);
unset($profile_fields['tumblr']);
unset($profile_fields['viddler']);
unset($profile_fields['virb']);
unset($profile_fields['windows']);
unset($profile_fields['woordpress']);
unset($profile_fields['zerply']);
unset($profile_fields['paypal']);
unset($profile_fields['yahoo']);
unset($profile_fields['vimeo']);
unset($profile_fields['rss']);
unset($profile_fields['soundcloud']);
return $profile_fields;
}
add_filter('user_contactmethods', 'modify_contact_methods');
//Удаление админбара для всех кроме админа
add_action('after_setup_theme', 'remove_admin_bar');
function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
//логотип при входе
function my_login_logo(){
echo '
<style type="text/css">
#login h1 a { background: url('. get_bloginfo('template_directory') .'/images/logo.png) no-repeat 0 0 !important; }
</style>';
}
add_action('login_head', 'my_login_logo');
//Теперь нам необходимо сделать так, чтобы логотип ссылался не на сайт wordpress.org, а на наш с вами.
//Тут тоже особо трудного ничего нет, добавляем всего лишь еще одну строку
add_filter( 'login_headerurl', create_function('', 'return get_home_url();') );
//Всплывающую подсказку что сайт работает на WordPress надо тоже убрать, и добавить свою фразу.
//Тут нам поможет эта строка:
add_filter( 'login_headertitle', create_function('', 'return "Brothers in Games - Сообщество любителей поиграть вместе";') );
//убрали лого из админбара
add_action( 'wp_before_admin_bar_render', function() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}, 7 );
//убрали ненужные виджеты
function shailan_remove_dashboard_widgets() {
// Remove Quick Press Widget
remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
// Remove Incoming Links Widget
remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
// Remove Recent Comments Widget
remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
// Remove Latest Plugins Widget
remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
// Remove WordPress Blog Widget
remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
// Remove Other WordPress News Widget
remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
}
add_action('wp_dashboard_setup', 'shailan_remove_dashboard_widgets' );
//удалили версию из футера админки
function my_footer_shh() {
remove_filter( 'update_footer', 'core_update_footer' );
}
add_action( 'admin_menu', 'my_footer_shh' );
//удалили указание на вп в футере
function remove_footer_admin () {
echo '';}
add_filter('admin_footer_text', 'remove_footer_admin');
//удалили таб помощи сверху
add_action('admin_head', 'mytheme_remove_help_tabs');
function mytheme_remove_help_tabs() {
$screen = get_current_screen();
$screen->remove_help_tabs();
}
//убрали метатег из хедера показывающий использование вп
function fjarrett_remove_wp_version_strings( $src ) {
global $wp_version;
parse_str(parse_url($src, PHP_URL_QUERY), $query);
if ( !empty($query['ver']) && $query['ver'] === $wp_version ) {
$src = remove_query_arg('ver', $src);
}
return $src;
}
add_filter( 'script_loader_src', 'fjarrett_remove_wp_version_strings' );
add_filter( 'style_loader_src', 'fjarrett_remove_wp_version_strings' );
//Hide WP version strings from generator meta tag
function wpmudev_remove_version() {
return '';
}
add_filter('the_generator', 'wpmudev_remove_version');
//скрытие пунктов меню слева от посторонних глаз
add_action( 'admin_init', 'my_remove_menu_pages', 999 );
function my_remove_menu_pages() {
// If the user does not have access to publish posts
if(!current_user_can('administrator')) {
remove_menu_page('bsf-dashboard');
remove_menu_page('wpcf7');
remove_menu_page('edit.php?post_type=explandict');
remove_menu_page('tools.php');
}
}
// get the "author" role object
$role = get_role( 'author' );
// add "organize_gallery" to this role object
$role->add_cap( 'unfiltered_html' );
// убираем инфу о неправильном пароле при входе
add_filter('login_errors',create_function('$a', "return null;"));
// убираем из кода страницы упоминание о Yoast WordPress SEO plugin
add_action('get_header', 'rmyoast_ob_start');
add_action('wp_head', 'rmyoast_ob_end_flush', 100);
function rmyoast_ob_start() {
ob_start('remove_yoast');
}
function rmyoast_ob_end_flush() {
ob_end_flush();
}
function remove_yoast($output) {
if (defined('WPSEO_VERSION')) {
$output = str_ireplace('<!-- This site is optimized with the Yoast WordPress SEO plugin v' . WPSEO_VERSION . ' - https://yoast.com/wordpress/plugins/seo/ -->', '', $output);
$output = str_ireplace('<!-- / Yoast WordPress SEO plugin. -->', '', $output);
}
return $output;
}
I used the patch you provided for 4.0.2 to 4.5 and it gave me errors so I reinstalled the full theme. It looks like it updated but im unable to access /wp-admin. When trying to go there, I receive:
Warning: require_once(wp_booster/td_review.php): failed to open stream: No such file or directory in /home/klsbo/public_html/wp-admin/includes/td_wordpres_booster.php on line 71
Fatal error: require_once(): Failed opening required 'wp_booster/td_review.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/klsbo/public_html/wp-admin/includes/td_wordpres_booster.php on line 71
I provided you with all the information via email (FTP and wp-admin) and got the response to rename the wp-content/plugins, try again and rename it back and no luck. Also to purge Cloudflare, but my site is not on Clouflare.
Going on the 4th day today with no admin and it’s really critical. Please help.
Thanks.
Thanks to the suggestion from Emil of turning off Cloudflare I have been able to fix the issue. Both the slider and mobile menu are now working. Thanks for all your help.
with my videos, they are hosted on amazon cloudfront. i use fv player pro plugin to embed the video (https://foliovision.com). how can i put in the url in the featured video
thank you very much, I got to remove the error by making a redirection in cloudflare adding a rule otherwise could not get, thank you very much, wonderful job of newspaper
