- NewsmagHow to update a plugin
- NewspaperHow to update a plugin
- NewsmagHow to update the theme
- NewsmagHow to update the WPBakery plugin
- NewspaperHow to update the WPBakery Page Builder plugin
- NewspaperHow to Update the Newspaper Theme
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_template::update_key
- Apitd_api_category_template::update
The reason for that is because V6 is not a update it’s a UPGRADE THEME,you should done a backup and a fresh install and these problems will not happen..
Hi Team –
I updated the Newspaper to Newspaper 6, yet once I did so, everything completely changed. My header was completely changed, my home page which used Visual Composer, was now just a block of text or shortcodes. I am now trying to revert to previous version, but it fails to load now. Any ideas on what may have happened?
Thanks
Update from Newspaper 4 to 6 script dont convert shortcode
Update script run ok, but shortcode for dropcap and blockquote&pullquote are not converted
Thank you rk !
“this is nonsense. Also major version updates have to work without changing the whole site manually. You might not
benefit from new features without changing something, but the site must not be broken!”
Absolut right I work since 8 Years with WordPress Themes and this is the first with a lot of troubles after Upadte / oh upgrade, sorry. Not nice !
hey Guys i am wondering whether you are going to update the newsmag theme, or is it better now to go for Newspaper 6 theme? currently i ma using most up to date newsmag theme but the update of newspaper looks excellent! great work lads you are doin there. thx
This tutorial is for all those who speak Spanish and also serve to people who speak English. The tutorial is written in Spanish and English.
Newspaper 6 no es una actualización de la versión 4. Es un rediseño interno completo del Theme, por lo tanto la manera óptima de hacerlo funcionar al 100% es realizar una instalación limpia.
ÂżCĂłmo realizar una instalaciĂłn limpia de Newspaper?
– Entra en http://www.yoursite.com/wp-admin/themes.php
– Activa un theme diferente a newspaper
– Borra el antiguo newspaper
– Sube el archivo de Newspaper 6
– Activa Newspaper 6 e instala los plugins que vas a utilziar como speedbooster, social, etc.
– Ve a Install demos: http://www.yoursite.com/wp-admin/admin.php?page=td_theme_demos
– Selecciona el estilo que quieres utilizar para tu sitio web. NOTA: NO ACTIVES “Include content” porque eso importará el contenido original del theme como imágenes y post, salvo el hecho de que quieras importarlo para trabajar sobre ellos en tu sitio web.
– Listo, ya tienes newspaper 6 funcional. Ahora tienes que ir a http://www.yoursite.com/wp-admin/admin.php?page=td_theme_panel y ajustar a tu gusto con tu logotipos etc.
Te recomiendo seguir las instrucciones de las dimenciones en logotipos e imágenes que establece el theme como por ejemplo para el logo principal que sea de (272 x 90px) y no de mayores dimensiones. Esto ayudará a tener mejores tiempos de carga.
CĂłmo optimizar newspaper 6
El Newspaper utiliza otras dimensiones de imágenes para ciertas áreas por lo tanto es recomendable regenerar las thumbnails para que todas estén en el tamaño óptimo y funcionen a la perfección.
– Entra en http://www.yoursite.com/wp-admin/plugins.php
– Instalar Regenerate Thumbnails, activarlo y ponerlo a funcionar. Lo encuentras en el menĂş “herramientas”
Vamos a eliminar elementos no Ăştiles con ayuda de functions.php, este archivo lo encuentras en Apariencia + editor + functions.php . Nos posicionamos hasta el final del archivo functions.php y copiamos y pegamos el siguiente cĂłdigo
/* si usas jetpack, con esto eliminamos devicepx */
add_filter( 'jetpack_implode_frontend_css', '__return_false' );
function dequeue_devicepx() {
wp_dequeue_script( 'devicepx' );
}
add_action( 'wp_enqueue_scripts', 'dequeue_devicepx', 20 );
/* FIN si usas jetpack, con esto eliminamos devicepx */
/* con esto hacemos los 2 jquery de wordpress en uno solo*/
function optimize_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_deregister_script('jquery-migrate.min');
wp_deregister_script('comment-reply.min');
$protocol='http:';
if($_SERVER['HTTPS']=='on') {
$protocol='https:';
}
wp_register_script('jquery', $protocol.'//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js', false, '3.6', true);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘template_redirect’, ‘optimize_jquery’);
/* FIN de con esto hacemos los 2 jquery de wordpress en uno solo*/
/*Otras optimizaciones */
function wpb_imagelink_setup() {
$image_set = get_option( ‘image_default_link_type’ );
if ($image_set !== ‘none’) {
update_option(‘image_default_link_type’, ‘none’);
}
}
add_action(‘admin_init’, ‘wpb_imagelink_setup’, 10);
function no_errors_please(){
return ‘Tu computadora se autodestruirá en 60 segundos!’;
}
add_filter( ‘login_errors’, ‘no_errors_please’ );
Damos clic en guardar o actualizar.
Newspaper 6 cuenta con Speedbooster, un plugin para mejorar el rendimiento aunque no funciona en todos los sitios web ya que hay que cumplir ciertas caracterĂsticas, como por ejemplo tiene incompatibilidad con akismet y algunos otros plugins que comĂşnmente se utilizan.
Si tu sitio web solo usa el plugin visual composer, entonces puedes usar speedbooster. De lo contrario usaremos otro plugin.
Desactivaremos los AVATARES de Gravatar en: Ajustes + Comentarios + retiramos la opciĂłn mostrar Avatares.
Adicionalmente puedes utilizar el plugin “WP-Usuario-Avatar” para establecer un avatar cargado desde tu propio sitio web. Esto mejora drástica mente la velocidad de carga de una entrada con comentarios.
CĂłmo optimizar tu instalaciĂłn de wordpress
Si tienes varios plugins vamos a desactivar y borrar TODOS los plugins que no usemos ni usaremos. Recuerda que entre menos plugins tengas instalados es mas veloz tu sitio web.
– Entra en http://www.yoursite.com/wp-admin/plugins.php
– Instala Plugin Garbage Collector
Activamos garbage collector y lo iniciamos. Este plugin nos ayudará a borrar tablas de datos viejas para mejorar la velocidad de carga de la base de datos. Si no te permite eliminar tablas desde el plugin tendrás que hacerlo desde PHPMyAdmin y borrar manualmente las tablas en la base de datos.
– Instala plugin WP-Optimize
Activamos WPOptimize y hacemos una optimizaciĂłn completa de la base de datos.
Regresamos a la pestaña de plugins y desactivamos, thumbnails regenerate, garbage collector y wp-optimize.
PARA USUARIOS AVANZADOS
Entramos por FTP y editaremos el archivo wp-config.php Vamos a eliminar todos los comentarios y solo dejaremos las lĂneas esenciales. De este modo pesará menos y quedará algo como este ejemplo.
<?php
define('WP_HOME', 'http://www.yoursite/');
define('WP_SITEURL', 'http://www.yoursite/');
define('DB_NAME', 'yourbase');
define('DB_USER', 'youruser');
define('DB_PASSWORD', 'pass');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTH_KEY', 'your key');
define('SECURE_AUTH_KEY', 'your key');
define('LOGGED_IN_KEY', 'your key');
define('NONCE_KEY', 'your key');
define('AUTH_SALT', 'your key');
define('SECURE_AUTH_SALT', 'your key');
define('LOGGED_IN_SALT', 'your key');
define('NONCE_SALT', 'your key');
$table_prefix = 'wp_';
define('WP_DEBUG', false);
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
Guardamos cambios y subimos el archivo editado
PLUGINS DE CACHE
Para el test instalé Newspaper en un sitio de pruebas con el estilo TECH. Tengo la licencia de Zen Cache PRO y WP Rocket, aunque también probé con 2 plugins gratuitos como w3 cache y Wp Super Cache. El test fue realizado con GTMetrix, el servidor del sitio web está en españa.




NOTA: En lugar de Speed Booster recomiendo usar el plugin Above The Fold Optimization y solo excluir el archivo style.css
——————————————————————–
———————–E N G L I S H ——————————-
——————————————————————–
This tutorial is for all Those Who Also Serve speak Spanish and speak to people WHO Inglés. The tutorial is written in Spanish and Inglés.
Newspaper 6 is not an update of the version 4. It is a complete internal redesign of Theme, so the optimal way to make it work 100% is performing a clean install.
How to perform a clean installation of Newspaper?
– Enter http://www.yoursite.com/wp-admin/themes.php
– Enable a different theme to newspaper
– Delete the old newspaper
– Upload the file of Newspaper 6
– Turns Newspaper 6 and install plugins you will use as SpeedBooster, visualcomposer, social, etc.
– Go to Install demos: http://www.yoursite.com/wp-admin/admin.php?page=td_theme_demos
– Select the style you want to use for your website. NOTE: Do not select “Include content” because it will import the original content of the theme as images and post, except for the fact that you want to import it to work on them on your website.
– Ready, already you have 6 Functional newspaper. Now you have to go to http://www.yoursite.com/wp-admin/admin.php?page=td_theme_panel and adjust to your taste with your logos etc.
I recommend following the instructions in the dimentions logos and images that set the theme as such for the main logo that is of (272 x 90px) and no larger. This will help to have better load times.
How to optimize newspaper 6
The Newspaper uses other dimensions of images to certain areas so it is advisable to regenerate the thumbnails are all in the optimal size and function perfectly.
– Enter http://www.yoursite.com/wp-admin/plugins.php
– Install Regenerate Thumbnails, activate it and make it work. You find it in the menu “tools”
We will remove not useful elements using functions.php, you find this file under Appearance + editor + functions.php. We position until the end of functions.php file and copy and paste the following code
/* If you use jetpack, with this we remove devicepx */
add_filter ('jetpack_implode_frontend_css' '__return_false');
dequeue_devicepx function () {
wp_dequeue_script ('devicepx');
}
add_action ('wp_enqueue_scripts' 'dequeue_devicepx', 20);
/* END if you use jetpack, with this we remove devicepx */
/* 2 do with this jquery wordpress into one */
optimize_jquery function () {
if (! is_admin ()) {
wp_deregister_script ('jquery');
wp_deregister_script ('jquery-migrate.min');
wp_deregister_script ('comment-reply.min');
$ Protocol = 'http:';
if ($ _ SERVER ['HTTPS'] == 'on') {
$ Protocol = 'https:';
}
wp_register_script ('jquery', $ protocol '// ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js', false, '3.6', true.);
wp_enqueue_script (‘jquery’);
}
}
add_action (‘template_redirect’ ‘optimize_jquery’);
/* End with this we jquery wordpress 2 into one */
/* Other optimizations */
wpb_imagelink_setup function () {
$ Image_set = get_option (‘image_default_link_type’);
if ($ image_set! == ‘none’) {
update_option (‘image_default_link_type’, ‘none’);
}
}
add_action (‘admin_init’ ‘wpb_imagelink_setup’, 10);
no_errors_please function () {
return ‘Your computer will self-destruct in 60 seconds!’;
}
add_filter (‘login_errors’ ‘no_errors_please’);
We click save or update.
Newspaper 6 features Speedbooster </ strong>, a plugin to improve performance but does not work at all as there are websites that meet certain characteristics, such as is incompatible with akismet and some other commonly used plugins .
If your website only uses the visual composer plugin, then you can use SpeedBooster. Otherwise we will use another plugin.
deactivate avatars Gravatar : Settings + Comments + withdrew the Show Avatars.
Additionally you can use the “WP-User-Avatar” plugin to establish an avatar loaded from your own site. This improves drastically loading speed of an post with comments.
How to optimize your wordpress installation
If you have multiple plugins we will deactivate and delete all plugins not to use or will use. Remember that the less have installed plugins is faster your website.
– Enter http://www.yoursite.com/wp-admin/plugins.php
– Install Plugin Garbage Collector
Activate and start garbage collector. This plugin will help us erase old data tables to improve loading speed of the database. If not let you delete tables from the plugin will have to do it from PHPMyAdmin and manually delete old tables in the database.
– Install plugin WP-Optimize
We WPOptimize activate and make a complete optimization of the database.
Back to the plugins tab and deactivate, regenerate thumbnails, garbage collector and wp-optimize.
FOR ADVANCED USERS
Walked through FTP and edit the file wp-config.php We will remove all comments and leave only the essential lines. This will weigh less and be something like this example.
<? Php
define ('WP_HOME', 'http: //www.yoursite/');
define ('WP_SITEURL', 'http: //www.yoursite/');
define ('DB_NAME', 'yourbase');
define ('DB_USER' 'youruser');
define ('DB_PASSWORD', 'pass');
define ('DB_HOST', 'localhost');
define ('DB_CHARSET', 'utf8');
define ('DB_COLLATE', '');
define ('AUTH_KEY', 'your key');
define ('SECURE_AUTH_KEY', 'your key');
define ('LOGGED_IN_KEY', 'your key');
define ('NONCE_KEY', 'your key');
define ('AUTH_SALT', 'your key');
define ('SECURE_AUTH_SALT', 'your key');
define ('LOGGED_IN_SALT', 'your key');
define ('NONCE_SALT', 'your key');
$ Table_prefix = 'wp_';
define ('WP_DEBUG', false);
if (! defined ('ABSPATH'))
define ('ABSPATH', dirname (__ FILE__) '/'.);
require_once (ABSPATH 'wp-settings.php. ");
Save changes and upload the file
plugins CACHE
For Newspaper 6 TEST, i installed in a test site with TECH style. I have licence of Zen CAHE PRO and WP Rocket (the best cache plugins for wordpress), but also tried with 2 free plugins like w3 cache and WP Super Cache. The test was conducted with GTMetrix, the server of the website is in Spain.




NOTE: Instead of Speed ​​Booster recommend using the Above The Fold Optimization plugin and only exclude the file style.css
Since there are hundreds of social media sites around the world and nobody needs the same things; it’s not practical for a theme to also include a comprehensive social media link manager and spend insane amount of time keeping that updated and working with all the sites and APIs that change frequently; often it’s best to use one of the dozen or so social media PLUG-INS commonly available and used by major websites … there are many choices that are one click drop-ins and work with theme instantly.
eg. 100,000* sites use this:
https://wordpress.org/plugins/social-media-feather/
200,000* have used this:
https://wordpress.org/plugins/social-media-widget/
If you’re unable to customize your site on your own, you might look at one of these beyond the popular AddThis and ShareThis stuff.
(*downloads)
Hello,
My logo size is HUGE since the update. I used to use this custom CSS, but it no longer works:
.header-style-9 .td-full-logo .td-logo {
max-width: 60%;
}
Is there a different custom CSS that I should be using now?
I’m currently in staging for my site. The link is here: http://livelovefruit.staging.wpengine.com/
Update: Theme panel options neither works. I’m very disappointed, can I do a downgrade to former version?
Hi, I just updated theme with last version and it doesn’t work. On home appears “wp booster error” and anyone of shortcodes works.What just happened?
Please help.
Hi,
Please revert to the version 4 of the theme, disable all your plugins, update using the guide provided in the documentation – https://forum.tagdiv.com/how-to-update-the-theme-2/ then update the theme plugins and try only with Visual Composer active(leave all plugins deactivated) and see if it works. Let me know how it goes!
Thanks!
Hi,
Not sure what you mean, you can add blocks to the page exactly like on version 4 of the theme – http://screencast.com/t/DokgaDytT Or widgets to your sidebar from Widgets section – http://screencast.com/t/31BO6zjFwAE Also you can remove it – http://screencast.com/t/VOVjYaWJ69H
Please make sure that you have update the theme properly using this guide – https://forum.tagdiv.com/how-to-update-the-theme-2/ and also you have updated the plugins that come with the theme files. You can check this without any plugins active, leave just Visual Composer active, clear cache and see if you still have this issue. Let me know how it goes!
Thanks!
Hi,
You can install it on a development site and customize it if you want this. The old theme settings are imported from database if you run the script from Newspaper Welcome section (if you follow the documentation) – https://forum.tagdiv.com/how-to-update-the-theme-2/ so you follow the steps provide there and remove the old theme.
Thanks!
Hi,
You only have to change the icons in the menu if you used them and the sidebar widgets. The rest of the settings are imported by the script included in Newspaper – Welcome section. We tried to make this transition as smooth as possible, sorry for the inconvenience. The measures we took were necessary in order to assure the future development of the theme. We practically made a thousands of tests before we released this update trying to avoid transition problems for our clients.
Thanks and sorry for inconvenience!
Hello
First, BRAVO for your new update. It is really great!
However, I have 4 problems.
Here an image :
http://imageshack.com/a/img909/5994/koqJe9.png
1/ I regenerate all images with Force Regenerate Thumbnails and hope it will change.
I deleted W3 Total Cache so it is not a cache issue.
Still 1500 to go! 🙂
2/ I rename the theme folder, put the new one, delete old plugin, and install the 4 news one from your /include folder in the zip.
In the cateogories pages, I still have code instead of the elements.
Why ?
3/ Background and color
Since the v4, when I laod any page, instead of having my main color (for us purple) on the link and background, during half a second it is the light blue color theme appearing.
Why this informatoin a still load or in the base and not replace by
4/ After the name of the redactor, how I could change the format of the date to have french one aka for example 5 Février 2015 instead of fév 5, 2015?
Regards
Hi,
I see that you still use version 4 of the theme and also Visual Composer version 4.3.5. Unfortunately some of Visual Composer don’t work well with the theme and Post Carousel is deprecated from version 4.4 – http://screencast.com/t/j436J1vOMg7d so you will have to update the theme as Visual Composer elements work on version 6 of the theme. Please check documentation if you want to update – https://forum.tagdiv.com/how-to-update-the-theme-2/
Thanks!
Hello,
after the update the pictures in the static slider are a little bit to dark (the picture gets bigger while put the mouse on it). How can I change it?
Best regards,
Adam
Please make sure that the ad box is empty in the panel (id does not have new lines or spaces in it). The theme thinks that there is content in that spot, we will make the check a bit smarter in the following updates.
If that dosn’t work, add this in theme panel -> custom css section
.td-header-sp-ads {
display:none;
}
When doing anything other then a fullscreen browser window the sidebar is sticking way too far down in the live demo of version 6 (not sure if this is fixed in the actual theme since I haven´t updated yet). The ad, some text and half the article picture disappears. Just thought I´d let you know 🙂
Tested in Chrome and Firefox.
Picture of the issue:

HI!
A new update will be released in the following weeks. I’ve also replied here: https://forum.tagdiv.com/topic/will-newsman-be-receiving-the-love/
@Cagatay the theme comes with a custom designed lightbox. Use the one from the theme is well tested and hopefully we will release the update that allows for site wide lightboxes soon.
Hello TagDiv,
I would like to know as well if this will be an option in the next update. Black block title backrounds should be the same with theme’s accent color or even better, have a separate setting in theme color options. Also, if there is an option to set the color in the widget, please make sure a color picker is available.
Thanks
Hello,
I’ve added this issue to our issue tracker and we will release an update to the theme with the fix. It may take us about one or two weeks to release the update, if you want the fix faster I can try to find a custom solution asap.
Sorry for this problem,
Radu O.
Hi,
@muhannad Please make a backup of your current theme installation, then remove the old theme(it should not remain old theme files) and upload the new theme version (you can try to do this via FTP), follow the documentation – https://forum.tagdiv.com/how-to-update-the-theme-2/ run the script and regenerate your thumbnails. Also update the theme plugins from the /plugins folder.
It should work, please let me know!
Thanks!
Hi all,
I’m one of the core developers and I can tell you that we are already working on an update to Newsmag. I do not yet have a difference table between the two themes but Newspaper has a lot more headers / post styles / category templates etc. We plan to release at first a bug fix patch for Newsmag and after that we will do our best to add new ui elements.