Salut,
1. In prezent suntem in cautarea unei solutii cat mai buna in ceea ce priveste implementarea unei optiuni pentru setatrea modalei “by default” deci, din pacate modala nu poate fii setata pentru a fii folosita de catre toate imaginile decat daca este setata manual pnetru fiecare iamgine in parte, inceraca sa folosesti modala pentru imagini fara “Responsive Lightbox” si asigurate ca ai setat-o cum trebuie: https://forum.tagdiv.com/display-image-using-modal-window/ ar trebuii sa functioneze bine, daca nu reusesti incearca sa deactivezi toate plugin-urile si verfica din nou.
2. Poti schimba culoarea in alb pentru aceste elemente din meniu din theme panel: http://screencast.com/t/01DCPMITt
3. Observ acum dupa ce am verificat site-ul tau ca ad-ul este la dimensiunea pe care ai ales-o si pare sa functioneze corect: http://screencast.com/t/9HIoIHAUu
4. Stim de aceasta probelema si o sa o remediem in urmatoarea versiune a temei, ne cerem scuze pentru asta.
5. Icearca sa gasesti un plugin pentru asta.
I legatura cu sugestiile:
1. O sa ne gandim la aceasta sugestie si o sa o adaugam in viitoarele update-uri ale temei daca o sa mai fie solicitata, poti modifica templatul forumului de aici daca doresti: http://screencast.com/t/3iele6PnbX
2. Poti sa modifici structura commenturilor din acest fisier dupa cum vrei tu sa apara: http://screencast.com/t/f04uFDZal5Xz
3. Multumim pentru sugestie, o sa ne gandim la asta daca mai multe persoane o sa solicite asta sau poti incerca un plugin daca iti doresti mai multe optiuni.
4. O sa incercam, multumim pentru sugestii.
5. Poti incerca sa remediezi asta folosind setarile pentru titlu din theme panel sau prin css doar pentru un titlu specific.
Multumesc.
Hi Lucian,
thanks for coming back to me. 🙂
Yes, I had the full width post pages working and was amazed how great the pictures stand out in that setup. That is why I intended to achieve the same look on the homepage with the slider for featured articles.
Regarding the slider/bigslider full width, you can try to have this via css but the sliders had not been designed to work like that and I don’t know how will respond
Yes, that is exactly what I would like to try. To have the sliders on homepages in the same look as the full width images in postings with style 4. But if it is too complicated, I may rather pass on this because my coding skills are limited unfortunately.
What kind of risk would I face with full-width sliders and is something alike on your to-do list for upcoming updates?
Hello,
I have updated the Newspaper Theme from version 3.8.4 to version 4.2. Since doing so, the Big Slider template used on our front page is no longer using the generated thumbs of the featured categories’ posts featured images. When looking at the page source, I see that it is using the full sized original image and using img width and img height values to constrain the generated thumb that do not correspond to what image sizes that are specified for the Big Slider template. I have re-generated my thumbs and this doesn’t help.
Any ideas?
Peter
Basically it looks like you tried to run the patch updater and PHP couldn’t do the upgrade using fastcgi vs running as apache.
Likely make sure you update your theme using the FTP method to upload new files, and make sure you DELETE any patch updater file on your server!
There should NOT be anything here after you upgrade
html/wp-content/themes/Newspaperpatch/
Actually, if you’re using mod_pagespeed and caching on your server, then (at least in our case), our images load faster via local cache after the first visit. And you have no control over the issues you’re having – you can’t change the URLs as used by Photon as the CDN likely uses the ?= for cache control to manage updates automatically.
Always a trade off on that stuff. And you would need to do some actual tests on “page load speeds” for the images to see how that works.
In our case, our dedicated server with APC and mod_pagespeed was faster than Amazon’s CDN after first load, unless somebody happened to be in a really far away country.
Your mileage may vary, obviously. But only way to get around the issues with outside sites impacting your rating, is simply not to use them 🙂
I didn’t edit the loop_single file but the td_module_blog in /includes/modules/module_modifier/.
I’m still running Newspaper v3.x and not v4 because I didn’t had time to update the theme. I’m running a high traffic site and still don’t have a staging site to update the theme to v4 without interupting traffic :p Anyway, I think the post pages in v4 are still generated by td_module_blog so you should give it a shot!
I don’t know about making custom fields with that plugin, I just followed tagDiv’s recomandations on using that plugin for creating additional custom fields.
When opening td_module_blog.php, look for the line (somewhere around line 600 in my version) that says:
if (empty($hideAuthor)) {
$buffy .= '<div class="author-box-wrap">';
$buffy .= '<a itemprop="author" href="' . get_author_posts_url($author_id) . '">' ;
$buffy .= get_avatar(get_the_author_meta('email', $author_id), '106');
$buffy .= '</a>';
and add and get_field('customfieldname')
Like this (notice i used ‘show_author’ as custom field name):
if (empty($hideAuthor) and get_field('show_author')) {
$buffy .= '<div class="author-box-wrap">';
$buffy .= '<a itemprop="author" href="' . get_author_posts_url($author_id) . '">' ;
$buffy .= get_avatar(get_the_author_meta('email', $author_id), '106');
$buffy .= '</a>';
Make sure your theme settings are set to show author. When the custom field for showing author is checked in a certain post the author box will show up. Hope this helps!
Hi,
There is not file with that name within the theme files inside includes/shortcodes
Please re-upload your theme files and make sure you do it like this: https://forum.tagdiv.com/how-to-update-the-theme/ and check to see if this is still happening
Hope this helps!
Thnaks
Hi,
If you have the 4.1 theme version you can use the patch to update the theme to 4.2 version.
If you are not sure that you have the 4.1 version please update the theme by copying the files via FTP https://forum.tagdiv.com/how-to-update-the-theme/
Thanks
Hello
I created site 2-3 months ago and forgot to check updates. Now current version is 3.9 and I am upgrading to latest one.
But I get error which tells me that theme could not find file /includes/shortcodes/td-quote.php
I checked the theme directory and it not present there. Can you please tell me what to do ?
Please tell me code of this file or a better way to do upgrade.
For now I created an empty td-quote.php file and its fine.
Hello Support,
My website: http://desinema.com/
I successfully installed the theme and everything was working fine untill yesterday. I have done all the customization and now our site is live.
But, today i see that sidebar is not working at all. I mean, What ever updates or changes i do to the sidebar widget, nothing is getting reflected on the website. It is stuck with the same sidebar settings. I believe this started happening after i installed W3TOTAL cache plugin. I have deleted this plugin now and still not able to use the sidebar.
Can you please look into this issue as soon as possible, since our site is live we don’t want to take any risk and fix it asap.
Kind Regards,
Manu Vasudev
Hi,
Sorry about this, I have added this on our todo list and we will try to fix this as soon as possible and implement it into the next update.
Thanks for understanding!
Have a nice day!
I tried many times to clear render blocking css and JS but not successful. I hope someone here will help me out.
Here is my speedbooster.php file
<?php
/*
Plugin Name: tagDiv speed booster
Plugin URI: http://tagdiv.com
Description: Speed booster for Newspaper theme - It moves the styles and all the scripts of the theme to the bottom. It also activates internal theme optimizations for better speed.
Author: tagDiv
Version: 2.5
Author URI: http://tagdiv.com
*/
/*
* 2.6 - fixed rendering bug on the loading of the page
* 2.5 - code improvements, newspaper 4 compatibility
* - makes most of the javascript files use defer parsing
* - better compatibility with revolution slider
* 2.4 - updated jquery version
* - support for https
* 2.3 - fixed warnings when trying to move javascript files that are not registered
*/
class td_speed_booster {
var $load_contact_form_7 = '';
var $load_google_fonts = '';
var $styles_for_footer = array();
var $async_js_scripts = array(
'contact-form-7',
'bbpress',
'woocommerce',
'site',
'devicepx',
'js_composer_front'
);
function __construct() {
add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts_hook'), 100);
add_action('wp_footer', array($this, 'wp_footer_hook'), 15);
add_action('wp_head', array($this, 'wp_head_hook'), 15);
define('TD_SPEED_BOOSTER' , 'v2.5');
}
function enqueue_scripts_hook() {
global $wp_scripts;
//$this->move_js_to_footer('bp-legacy-js');
//detect revmin - revolution slider and do not move jquery
if( !is_admin() and !isset($wp_scripts->registered['revmin'])){
if (is_ssl()) {
$td_protocol = 'https';
} else {
$td_protocol = 'http';
}
wp_deregister_script('jquery');
wp_register_script('jquery', ($td_protocol . '://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js'), true, '1.11.0', true);
wp_enqueue_script('jquery');
}
//move styles
$this->move_style_to_footer('bbp-default-bbpress'); //bpress old
$this->move_style_to_footer('bbp-default'); //bpress
$this->move_style_to_footer('contact-form-7');
$this->move_style_to_footer('td-bootstrap');
$this->move_style_to_footer('td-theme');
$this->move_style_to_footer('google-font-rest');
$this->move_style_to_footer('woocommerce_frontend_styles');
//jetpack lost styles
$this->move_style_to_footer('jetpack-subscriptions');
$this->move_style_to_footer('jetpack-widgets');
$this->move_js_to_footer('themepunchtools');
$this->move_js_to_footer('revmin');
//bbpress
//remove_action( 'bbp_head', array($BBP_Default, 'head_scripts') );
}
function wp_footer_hook() {
$current_theme_version = '';
if (defined('TD_THEME_VERSION')) {
//get the theme version for style
$current_theme_version = TD_THEME_VERSION;
//on demo mode, autogenerate version hourly + day
if (TD_DEPLOY_MODE == 'demo') {
$current_theme_version = date('jG');
}
}
foreach ($this->styles_for_footer as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
}
}
function wp_head_hook() {
if (defined('TD_THEME_VERSION')) {
echo '<style>body {visibility:hidden;}</style>';
}
}
function move_style_to_footer($style_id) {
global $wp_styles;
if (!empty($wp_styles->registered[$style_id]) and !empty($wp_styles->registered[$style_id]->src)) {
$this->styles_for_footer[$style_id] = $wp_styles->registered[$style_id]->src;
wp_deregister_style($style_id);
}
}
function move_js_to_footer($js_id) {
global $wp_scripts;
if (isset($wp_scripts->registered[$js_id])) {
wp_enqueue_script($js_id, ($wp_scripts->registered[$js_id]->src), '', $wp_scripts->registered[$js_id]->ver, true);
}
}
function async_js_hook($url) {
//check to see if we have js
if (strpos( $url, '.js' ) === false) {
return $url;
}
if ($this->strpos_array($url, $this->async_js_scripts) === false) {
return $url;
} else {
return "$url' defer='defer";
}
}
private function strpos_array($haystack_string, $needle_array, $offset=0) {
foreach($needle_array as $query) {
if(strpos($haystack_string, $query, $offset) !== false) {
return true; // stop on first true result
}
}
return false;
}
}
new td_speed_booster();
And here is my function generated file
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.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
itsec_file_change_warning_js | http://mydomain.com/wp-content/plugins/better-wp-security/modules/free/file-change/js/admin-file-change-warning.js
itsec_strong_passwords | http://mydomain.com/wp-content/plugins/better-wp-security/modules/free/strong-passwords/js/strong-passwords.js
devicepx | http://s0.wp.com/wp-content/js/devicepx-jetpack.js
wpuf-subscriptions | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/js/subscriptions.js
wp-color-picker | /wp-admin/js/color-picker.min.js
jquery |
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
wpuf-chosen | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/admin/../assets/js/chosen.jquery.js
wpseo-admin-global-script | http://mydomain.com/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
suggest | /wp-includes/js/jquery/suggest.min.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
itsec_notice_css | http://mydomain.com/wp-content/plugins/better-wp-security/core/css/itsec_notice.css
wp-color-picker | /wp-admin/css/color-picker.min.css
wpuf-chosen-style | http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/admin/../assets/css/chosen/chosen.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://mydomain.com/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wpalchemy-metabox | http://mydomain.com/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
ithemes-icon-font | http://mydomain.com/wp-content/plugins/better-wp-security/lib/icon-fonts/icon-fonts.css
bbp-admin-css | http://mydomain.com/wp-content/plugins/bbpress/includes/admin/css/admin.css
jetpack-icons | http://mydomain.com/wp-content/plugins/jetpack/_inc/jetpack-icons.min.css
Here what my pagespeed test suggest
Remove Render Blocking Javascript
http://mydomain.com/wp-includes/js/jquery/jquery.js.pagespeed.jm.ocognCjcS2.js
http://mydomain.com/wp-includes/js/jquery/jquery-migrate.min.js.pagespeed.jm.mhpNjdU8Wl.js
http://maps.google.com/maps/api/js?sensor=true
http://maps.gstatic.com/maps-api-v3/api/js/17/15/main.js
http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/js/frontend-form.js.pagespeed.jm.DduuMTRcHs.js
Optimize CSS Deliver of the following
http://mydomain.com/wp-content/plugins/revslider/rs-plugin/css/W.settings.css,qrev=4.3.8.pagespeed.cf.DyIPD1r_80.css
http://mydomain.com/wp-content/plugins/revslider/rs-plugin/css/W.captions.php,qrev=4.3.8.pagespeed.cf.VUw1T7K7S2.css
http://mydomain.com/wp-content/plugins/wp-user-frontend-pro/assets/css/W.frontend-forms.css.pagespeed.cf.vemqQTxrMU.css
http://fonts.googleapis.com/css?family=Roboto%3A400%2C700
I am also using Dreampress which is on varnish cache. I enabled Page Speed Mod as well. No other caching plugin.
My Page Speed Score is 64 for desktop and 41 for mobile.
Further, Here is what i added in my httaccess
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedModifyCachingHeaders off
</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
Now please suggest me what to do for increasing my page speed. My site is damn slow. Please help me to correct the speedbooster.php file as per instructions. Special request ot Christopher for helping me out. Thanks
Hi,
I tried to update the td_authors.php in the child theme, but it is not working.
The only way it works is if I edit the file directly in the parent theme. Is there a way to fix this? I don’t like editing the original files.
Cheers!
Yup, you don’t. We get a version bundled with the theme, and tagDiv includes the latest one with each new theme update.
Some people are so annoyed by the update counter that they buy a VC licence just to keep it up to date (I considered it…). But some people have reported problems with that, because tagDiv tests each new version’s compatibility before including it in a theme update. So it’s safest just to not update it.
The visual composer plugin says I don’t have the license to update.
@JBH glad you get some good so far out the plugin,well you just have to look for those JS & CSS files and exclude them as well..at this time i can’t tell you which files those are because i’m not having those issues, speedbooster is working great so far and i did not had to exclude any files of mine..have you update the speedbooster to the latest version because the author made a lot changes in the plugin since then…but my advice will be go to the wordpress website and post in the support forum for this speedbooster plugin the author will help you much better then me…
Hello,
Hope everyone at TagDiv is doing well. Thanks for the continued excellence in updates and assistance.
I have a top menu that takes me to individual category pages. On the menu bar, the category is underlined, and then the category shows again, just above the first post (small slider).
I would like to prevent the Category from showing again, and push all the content upwards (to the gray dotted line in the screenshot). http://screencast.com/t/vDBCPjZRoe
I hope you can help me.
I am having problem with modules and length of the text. I want to create a homepage with module 9. But cannot edit length of the text. I tried from theme panel too. moreover please check you theme documentation I think it needs to be updated.
site: thenerdmag.com
I saw this behaviour once, not with this slider or theme, but with another slider plugin on a different theme. I switched themes, not plugins, and it worked again, oddly enough…
Only one suggestion occurs to a layman like me: Ensure that when you update the theme, you also install the version of WPBakery Visual Composer included with it. If it’s not that, I’m not sure what it is.
-
This reply was modified 11 years by
TheMediumUTM.
My pleasure. I ended up not using cache plugin, since mod_pagespeed does great job in combination with server-based cache since it doesn’t have to run through the php system or wordpress code as a caching “plugin” does. You *can* use one, but I found it didn’t help much really and caused too many issues when I need to update a page or template.
Trick is knowing how to clear the cache on server when you go to update the theme to clear out everything before and after upgrade so web browsers can “see” the new versions of the style sheets.
But I think you’ve got it 🙂
I did pretty much the same thing; basically using the Gill Sans stack; and simply replaced the stacks in style.css. I didn’t need to change the loop files, since I think those call the “default” font, so if you change that in styles.css I think all you need to tweak each time the theme is updated is just functions.php and styles.css and leave rest alone (unless I’m wrong … ) 😉
Varnish is often used at server level, and that is the Dreamhost interpretation. You often need to let them know you’re running a WordPress site, or visit your control panel to tweak the settings for the cache. Since this runs on server “above” the typical second-tier plugins like W3 or Total Cache, you should not have to use the plugins stuff at all.
However, with mod_pagespeed running also, there are some things you will want to tweak (you can see my settings in the pagespeed sticky topic; but Dreamhost will likely have some things which can/cannot be set to “on” by using either your control panel or .htacess file declaration at top — again, see my settings in the forum pagespeed topic here).
Also, remember when testing that a page is slow first time when being cached, then subsequent visits are cached on server.
However, I’d likely
1) do a Google search for
Dreamhost DreamPress Varnish + Mod_Pagespeed + WordPress
2) check with your hosting provider (Dreamhost) for optimum setup for Varish and mod_pagespeed for WordPress, since they deal with that all the time and may even have a support FAQ on the right settings to use.
The combination of Varnish and mod_pagespeed is truly awesome. We are using APC opcode cache + mod_pagespeed on our server.
Normally the main issue is connecting mod_pagespeed to Varnish for caching so that mod_pagespeed can see updated content properly, but I’m certain DreamHost would have that properly connected by default or nothing would work right.
Hope that helps.
Upshot: with Varnish and Mod_pagespeed (aka “GPS”), you should not need to run a caching plugin (in theory).
-
This reply was modified 11 years by
simchris.
If Lucian’s method seems lengthy, here’s another way.
Find the category-template.php file, in wp-includes folder.
Change ‘number’ => 100, or ‘number’ => 20, or whatever number you want.
http://codex.wordpress.org/Function_Reference/wp_tag_cloud
Remember to do this again after core update.
Hi Lucian, the noticed now that our newspaper theme is “kinda boxed”, since none of full width sections are working. Here’s our the page we are trying to use as the parallax demo:
http://ambrosia.virgula.uol.com.br/circuito-ambrosia/
Any thoughts? I just updated the theme to the newest version and remove all customizations, just added the top bars.
Thanks
Hi,
Sorry for the delay.
The avatar can be added with some custom work or try to find a plugin like this or similar.
Unfortunately I don’t think this can be done easily and we cannot offer custom work as we work hard on the development, updates, fixes and support. You can always get a freelancer from sites like: http://studio.envato.com/ if you don’t know how to do it yourself.
Sorry about this and thanks for understanding!
Thanks