Search Results for 'composer'

Results from the Forum
simchris
tagDiv Member

I only replied since I crashed my site changing the theme from Newspaper to Newsmag because I forgot to disable the old visual composer plugin first …. and learned my lesson on that one!

simchris
tagDiv Member

Well, this is a NEW theme, on version 1.0 … it is not an update to Newspaper. So you need to treat as changing to different theme, unless I totally misunderstood what you were saying there 🙂

So,
1) switch to default WP theme
2) turn off all plugins; delete ALL plugins used for Newspaper theme
and delete any prior issue of Visual Composer – completely
3) clear cache, update CDN if needed
4) install theme
5) install plugins
6) activate new visual composer with all other plugins OFF
7) activate theme from wordpress > appearance

So, you need to install the theme then activate the new theme following the theme docs.
https://forum.tagdiv.com/installation-newsmag/

simchris
tagDiv Member

You don’t need a key for Visual Composer; it’s a “bundled version” with the theme.
I found it’s actually best to manually upload it to the /wp-content/plugins/ folder.

You do need to fully remove any old version of Visual Composer before installing the version which is included with the theme. I had to do that, as I got a 500 server error when I didn’t do that correctly.

simchris
tagDiv Member

My custom functions.php mods, for those who care about such and sundry…. use at your own risk.


/*CHRISTOPHER'S CUSTOM MODS - 10.4.14. rev2 */

 remove_action( 'wp_head', 'wp_generator' ) ;
 remove_action( 'wp_head', 'wlwmanifest_link' ) ;
 remove_action( 'wp_head', 'rsd_link' ) ;
 remove_action( 'wp_head', 'feed_links', 2 );
 remove_action( 'wp_head', 'feed_links_extra', 3 );

 add_filter( 'pre_comment_content', 'wp_specialchars' );

 function no_errors_please(){
   return 'GET OFF MY LAWN !! RIGHT NOW !!';
 }
 add_filter( 'login_errors', 'no_errors_please' );

 /* Disable YOAST SEO Admin Bar. */
 function mytheme_admin_bar_render() {
 	global $wp_admin_bar;
 	$wp_admin_bar->remove_menu('wpseo-menu');
 }
 // and we hook our function via
 add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );

 function delete_enclosure(){
  return '';
  }
  add_filter( 'get_enclosed', 'delete_enclosure' );
  add_filter( 'rss_enclosure', 'delete_enclosure' );
  add_filter( 'atom_enclosure', 'delete_enclosure' );

 function remove_cssjs_ver( $src ) {
     if( strpos( $src, '?ver=' ) )
         $src = remove_query_arg( 'ver', $src );
     return $src;
 }
 add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
 add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );

 add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );

 function remove_pingback_url( $output, $show ) {
     if ( $show == 'pingback_url' ) $output = '';
     return $output;
 }
 add_filter( 'bloginfo_url', 'remove_pingback_url', 10, 2 );

 add_action('init', 'myoverride', 100);
 function myoverride() {
     remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

Normally we convert ALL fonts to Open Sans (with Newspaper, anyway); so typically we would open the style.css, search/replace all fonts to what we want, then edit the functions.php … but now would edit the td_fonts.php to REMOVE all the google fonts not being used; this ensures they don’t “print” in the head/foot of the posts online.

I have not yet done this for the fonts.

For our sites we have to do the following each update
1) update the hook for the post views to “views” from existing field
2) edit the search file to remove breadcrumbs (I don’t need those on indexes for each story)
3) edit functions.php to put various elements for us at bottom, such as changing default compression for images/thumbs, adding note to poke hackers trying the lost password function, turn off XMLRPC elements in header, remove Yoast from menu bar in admin, hide header elements like versions, hide use of visual composer, etc. — many common “optimizations” for WordPress sites.
4) edit header to remove the section for video thumbnails and this stupid thing
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
5) optimize the fonts, by doing the aforementioned house cleaning on style css file, and removing the extra google font calls.

Your mileage may vary 🙂

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
lulu1984
tagDiv Member

Hello,

If you had the Newspaper theme, you need to replace the Social Counter and the Visual Composer plugins with the one from the Newsmag archive.
Both themes don’t use the same plugins.

Lucian
tagDiv Staff

Hi,

Please try to delete the visual composer plugin then install it using this guide: https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/ and install it from the plugins folder within theme files that you downloaded from themeforest.

Thanks

  • This reply was modified 11 years by Lucian.
jchamp
Participant
#0

Hi There

I installed the theme onto my multi site and now I am getting this error on the top of the page

Warning: Invalid argument supplied for foreach() in /home/champion/public_html/wp-content/plugins/js_composer/include/classes/core/class-wpb-map.php on line 245

Lucian
tagDiv Staff

Hi,

You need to try this without plugins first as this may occur due to a plugin which you are using and causes this js error: http://screencast.com/t/eTzzZQNhe
Make sure you disable all plugins then empty cache and check again for this. After this make sure you enable the plugins back one by one so you can notice winch one is causing this.
You can switch to site.min.js by activating the speed booster plugin but I doubt this will solve the js issue you have, you can also try that and see how it goes but make sure you have only the Visual Composer active when you do that.
Please let me know what you find!

Thanks

Mijaz
tagDiv Member

Hello,

My site is http://www.dnevne.net

I am try to deactivate all plugins leaving active just the Visual Composer plugin but the same problem.

Thanks.

Lucian
tagDiv Staff

Hi,

Please send your site’s URL of the page that has this issue as I need to inspect this in order to provide an accurate solution for this.
Please also try to deactivate all plugins leaving active just the Visual Composer plugin and check again for this.
Please let me know!

Thanks

Lucian
tagDiv Staff

Hi,

Yes, sorry for the delay and sorry for the inconvenience as apparently we haven’t made the changes need to the Visual Composer plugin. We will release a patch with a fix this week. This happens when you use the custom templates added to the Visual Composer so you need to build you own page and add elements to the page.

Thanks

Lucian
tagDiv Staff

Hi,

Are you sure that your Visual Composer is active? I have just checked your page source and haven’t found any link to the VC plugin: http://screencast.com/t/SfOrY5oT
If it is active please try to create a page using the plugin and check if in that case you get the same result.
Please let me know!

Thanks

Lucian
tagDiv Staff

Hi,

Please make sure that you disable all plugins leaving just the WPBakery Visual Composer plugin active then empty cache and/or purge files if you use any cache plugins or CDN host services then check again for this as this.
Please also note that the speed booster can cause issue when used with other plugins.

Thanks

Lucian
tagDiv Staff

Hi,

I have checked your site and found this js error on your console which could cause this: http://screencast.com/t/IZzsirCKd2 so please make sure that you disable all plugins leaving just the WPBakery Visual Composer plugin active then empty cache and/or purge files if you use any cache plugins or CDN host services then check again for this as this.
Please let me know of what you find.

Thanks

simchris
tagDiv Member

YAY!!!!

I had a server 500 error myself, so went through the usual torment of switching over. That pesky ‘visual composer’ plugin in particular really is a pain in the butt sometimes when changing themes!

OnlyOneLab
tagDiv Member

I’ve forgot to point out, that I use WordPress 4.0.1 and Visual Composer 4.3.4.
The setup of wordpress is clean, I just installed your theme with necessary plugins.

OnlyOneLab
tagDiv Member

I have the same problem.
I’ve tried to delete Visual Composer and install it again and the problem doesn’t disappear.
Here is the screenshot of my admin panel:
http://s22.postimg.org/a2h531vxd/bug.png
and here is the main page:
http://s30.postimg.org/8q3e9pt4h/bug1.png
Please help us to solve this problem.

simchris
tagDiv Member

Turn off all plugins; change to default theme.
Clear cache on server/CDN as applicable; clear browser cache; restart browser.

Login, activate visual composer (using the version included with this theme only);
switch on this theme.

Under WP settings, reading, set static page back to latest posts.

Check pages work at all.

simchris
tagDiv Member

Make sure you upload only the main theme files; don’t install the “all files” zip from ThemeForest… that has docs, psd files, plugins, etc.

You want to install the smaller of the two files on Themeforest, if you’re installing via theme panel with .zip.

BEST WAY TO INSTALL WP THEMES:
Ideal way is still to
1) unzip theme folder “Newsmag” on your HD
2) upload via FTP/SFTP to your /wp-content/themes/ folder
3) upload the plugins unzipped to /wp-content/plugins/
4) switch to default theme from your old theme
5) turn off *all* running plugins
6) clear your cache(s), turn off caching (!),
7) activate the Visual Composer plugin
8) activate the new Newsmag theme
9) launch the theme panel
10) reactivate only the plugins you 100% need to make sure they work (some plugins WILL NOT WORK properly with WP 4.01 until you update the plugins!).

Clear the cache in your WEB BROWSER FULLY and restart web browser; this clears any CSS/Java used by your previous theme admin, and theme, so that you see the new CSS/JS properly (seriously, this is cause for huge number of “my new theme doesn’t load right” or “admin panel doesn’t have any boxes!” errors).

If you’re running WordPress older than 4.0 be aware there is a very serious cross-site scripting vulnerability (e.g., WP 3.9.2). You should be running WP 4.0+ to use this theme properly.

This is standard practice for switching to a brand new theme and good habit to get into doing it this way to ensure you clear cobwebs on old, and cleanly move to new.

Hope that helps! 🙂

Chris

simchris
tagDiv Member

Make sure you upload only the main theme files; don’t install the “all files” zip from ThemeForest… that has docs, psd files, plugins, etc.

You want to install the smaller of the two files on Themeforest, if you’re installing via theme panel with .zip.

BEST WAY TO INSTALL WP THEMES:
Ideal way is still to
1) unzip theme folder “Newsmag” on your HD
2) upload via FTP/SFTP to your /wp-content/themes/ folder
3) upload the plugins unzipped to /wp-content/plugins/
4) switch to default theme from your old theme
5) turn off *all* running plugins
6) clear your cache(s), turn off caching (!),
7) activate the Visual Composer plugin
8) activate the new Newsmag theme
9) launch the theme panel
10) reactivate only the plugins you 100% need to make sure they work (some plugins WILL NOT WORK properly with WP 4.01 until you update the plugins!).

Clear the cache in your WEB BROWSER FULLY and restart web browser; this clears any CSS/Java used by your previous theme admin, and theme, so that you see the new CSS/JS properly (seriously, this is cause for huge number of “my new theme doesn’t load right” or “admin panel doesn’t have any boxes!” errors).

If you’re running WordPress older than 4.0 be aware there is a very serious cross-site scripting vulnerability (e.g., WP 3.9.2). You should be running WP 4.0+ to use this theme properly.

This is standard practice for switching to a brand new theme and good habit to get into doing it this way to ensure you clear cobwebs on old, and cleanly move to new.

Hope that helps! 🙂

Chris

  • This reply was modified 11 years by simchris.
Gregory
tagDiv Member

If Visual Composer is activated from an other theme may this cause this issue.

Try delete Visual Composer plugin then active WP temporary theme then back try to active Newsmag and of course the fresh Visual Composer plugin right after.

I hope this may help you. Good luck.

  • This reply was modified 11 years by Gregory.
redterry
tagDiv Member

Thanks Lucian.

Was able to activate the predefined style successfully so thanks for that.

As for Visual Composer it is still a major issue.

See screenshot
http://bit.ly/11oMmv8

I have reved Visual Composer complete, even checked using FTP. Then installed Visual Composer from the plugin folder inside the Newspaper theme I purchased from you.

Still the code shows on the homepage.

Why isn’t the visual composer shortcodes rendering despite running Visual Composer?

I am not happy to share my website details publicly so if you can send me a private message then I am happy to create an admin for you to check.

ninja
Participant
#0

Hello

The wdgetised sidebar in the visual composer strips out sidebar header formatting. Have a look here in the right sidebar: http://www.bookofburlesque.com/burlesque-shows/. There are two headings ‘about book of burlesque’ and ‘advertisements’. Both are showing as plain text and looking at the source code I see that there’s no headings used at all. Help!

Marius
tagDiv Staff

Hello,

Please make sure you have the Visual Composer plugin is activated.

Thanks for the message!

Viewing 25 results - 51,951 through 51,975 (of 52,922 total)