Search Results for 'td composer'

Results from the Forum
Phonetic
tagDiv Member

I’ve tested another upgrade on a different backend and samme error after update (with no update to VC.

I suspect it’s related to the visual composer changes you’ve made to the code in 6.7:

fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)

Catalin
tagDiv Staff

Hello thanik30,

1)If you want to have the latest version of Visual Composer 4.11, please update your theme to the latest version which was released today, 17th Marth. If you want to find more information about this update, please check this link -> http://tagdiv.com/newspaper-6-7-update/
2)If you want to change the font size for each your block title, you have to use a bit of CSS code to do this. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td_block_wrap .block-title {
font-size:20px;
}

The result -> http://screencast.com/t/5eK6OxmVkIt

3)Depends on what you want to mean through “customise the look of the block title”. Please notice that is a Visual Composer element and you have to target the specific class in order to apply the desired attribute (you can try to customise yourself as I presented you above).
4)If you want to increase the height for your header, please try the code below.

The code is ->

.td-header-menu-wrap-full{
height:200px!important;
}

The result -> http://screencast.com/t/DJ8VrNKm

5)Our related articles use a specific block to display the posts for this kind of feature. The block type is td_block_reltated_posts and it only used for related posts. If you want to change the functionality for this, you have to change the functionality altering the code from the core file, like this -> http://screencast.com/t/5o2poNC8XA8 -> http://screencast.com/t/DuDz1BuCmTf

Hope this helps!

If you want to display more levels in our theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!

Thank you for the message!

simchris
tagDiv Member

From the changelog – not certain if up to date or not:

Newspaper theme
Here is a list of all the changes between v 6.6.5 and v 6.7

Modified files – 12 files
page-pagebuilder-title.php
page.php
style.css
includes\td_config.php
includes\plugins\js_composer.zip
includes\shortcodes\td_block_authors.php
includes\wp_booster\td_global.php
includes\wp_booster\td_wp_booster_functions.php
includes\wp_booster\wp-admin\panel\views\td_panel_categories.php
includes\wp_booster\wp-admin\panel\td_view_theme_plugins.php
js\tagdiv_theme.js
js\tagdiv_theme.min.js

Deleted files – 1 files
includes\plugins\revslider.zip

=================

[ Version 6.7 ]
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file

[ Version 6.6.5 ]
– fix: WooCommerce 2.5 compatibility + various styling issues
– improvement: Visual Composer plugin updated to the latest version
– improvement: Revolution slider updated to the latest version
– improvement: theme panel status now shows the loaded demo information
– improvement: footer logo title and alt attribute is now configurable from the theme panel
– improvement: faster servers that serve the files for the one click demos

==========
“no way to know ….” ? seems like some info was included in the download, at least my copy. ?

Alex
tagDiv Member

Hi, Newspaper 6.7 includes:
– new: Visual Composer plugin updated to the latest version 4.11
– new: Revolution Slider plugin updated to the latest version 5.2.2
– fix: Theme Panel fixed the structure for categories that have multiple branches(subcategories with their own subcategories)
– fix: Visual Composer 4.10 – Video Player resize problem for aspect ratio 4:3 and 2.35:1
– fix: removed some old Visual Composer detection code from td_wp_booster_functions.php, it was causing an error in certain cases
– fix: improved the Visual Composer detection code inside the default page template file, it was triggered when the shortcodes didn’t have unique names(ex. Woocommerce shortcodes)
– improvement: Authors box widget/block – added user roles option, now you can set it to display only the desired role(s) – https://codex.wordpress.org/Roles_and_Capabilities
– other: to keep the theme size under 8MB we removed the Revolution Slider install from the Newspaper->Plugins section. You have to install it manually – https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
– other: removed unused code from “page-pagebuilder-title.php” template file

Andrei L.
tagDiv Member

Hi

As the sidebar to be sticky on the content displayed with Visual Composer page-builder it’s required the vc_row container because the style oftd-ss-row class it’s applied on that container: http://screencast.com/t/uVO8q7Bis When shim plugin it’s used td-ss-row class does not appear in page source and the td-ss-row class won’t apply it’s effect.
The default sidebar it’s applied for the latest article part which does not require Visual Composer and the style for it it’s made different. When the option from theme panel is enabled a new style it’s added for the sidebar’s column. That style it’s added by theme’s js only if this option from theme panel it’s enabled: http://screencast.com/t/E4IWB6nZglXH
The smart sidebar was not tested to work with shim plugin. In order to have it working are required some customizations in plugin’s files. This is a complex task and unfortunately i can”t provide a solution now. At the moment if you want to use the smart sidebar the only way is to have Visual Composer active.

Thanks!

skmg
Participant
#0

Hi, I have mofified the td-speed-booster.php file as instructed in your help files.
However, whenever I run a speed test on google developer. I still get the same CSS files I have identified as being the issue. How can I fix this?

1. You can run the test with my url here: http://www.siempreactivo.tv and see what I am talking about.

2. BELOW IS THE CODE I MODIFIED IN THE td-speed-booster.php

* here we move the css

*/

function css_mover() {

if ($this->td_theme_name == ‘Newspaper’) {

// wp 011 – Newspaper 6

//$this->move_style_to_footer_queue(‘bbp-default-bbpress’); //bpress old

//$this->move_style_to_footer_queue(‘bbp-default’); //bpress

$this->move_style_to_footer_queue(‘google_font_open_sans’);

$this->move_style_to_footer_queue(‘google_font_roboto’);

$this->move_style_to_footer_queue(‘contact-form-7’);

$this->move_style_to_footer_queue(‘front-css’);

$this->move_style_to_footer_queue(‘bbp-default’);

$this->move_style_to_footer_queue(‘rs-plugin-settings’);

$this->move_style_to_footer_queue(‘woocommerce-layout’);

$this->move_style_to_footer_queue(‘woocommerce-smallscreen’);

$this->move_style_to_footer_queue(‘woocommerce-general’);

$this->move_style_to_footer_queue(‘js_composer_front ‘);

$this->move_style_to_footer_queue(‘td-theme’);

$this->move_style_to_footer_queue(‘td-theme-woo’);

if ($this->is_ie === false) {

// move style.css theme style

//$this->move_style_to_footer_queue(‘js_composer_front’);

$this->move_style_to_footer_queue(‘td-theme’); //this is the main style of the theme. It’s only moved on Newspaper 6!

$this->move_style_to_footer_queue(‘td-theme-woo’); //this is the main style of the theme. It’s only moved on Newspaper 6!

}

Andrei L.
tagDiv Member

Hi

In order to have a sticky sidebar the Visual Composer plugin must be active as the td-ss-row class it’s applied for a row from this plugin.

Thanks!

tmairt
tagDiv Member

Hi Chris – error log gives me this

[12-Mar-2016 11:24:35 UTC] PHP Fatal error: Call to undefined method WPBakeryVisualComposer::getInstance() in /home/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 1139

Dgtacq
Participant
#0

Hello,

Could anybody help? I have four issues now (on the local side i did not have it)

1 All the video’s don’t show their featured images (they used to get them automatically when publishing)

2 I cannot activate the Div social counter, this is one of the errors it gives. [td_block_social_counter custom_title=”STAY CONNECTED” facebook=”tagDiv” twitter=”envato” youtube=”envato”]

3 I want to change the front page but my old frontpage does show visual composer. Secondly i don’t know how to change the front page.

4 The sidebars don’t show visual composer.

Your help is appreciated.

Demian

The Transnational Post
tagDiv Member

Hi, I want to start working on the code,
$current_categories = get_the_category($post->ID);
foreach ($current_categories as $category){
if ($category->cat_name == ‘Vogue’){
$td_default_site_post_template = ‘single_template_6’;
}
}

$current_categories = get_the_category($post->ID);
foreach ($current_categories as $category){
if ($category->cat_name == ‘Vogue’){
$td_post_theme_settings[‘td_post_template’] = ‘single_template_6’;
}
}

Ok, the category here is Vogue, what is the name of the post template used. I am thinking ‘single_template_6’ right?, just want to know the name of the post template and can I use it for more than one category

Secondly, I uploaded AccessPress Social Counter plugin, how do I make the widget available on the Elements window so I can use it in the visual composer.

Thirdly, Is there any benefit of upgrading the visual composer to pro?

Thanks for all your help.

miguel_a
tagDiv Member

Hi Andrei,

thanks for the response. I’ve figured this on my own in the meantime when digging though the the API files, I’m in a rush:)

Now, this doesn’t work – it throws a Fatal error, when I put it into the plugin file. This is because the plugins are initiated before the themes, so I had to put it into a separete file and load that file on in a hook like this:

class uep_api_plugin {
/* vars and functions are here */

add_action(‘td_wp_booster_loaded’, array($this, ‘hook_uep_booster_after’));

public function hook_uep_booster_after() {
include_once(dirname(__FILE__) . ‘/widgets/td_widget_tagcloud.php’);
}

}

IMHO this is a little complicated. Have you considered allowing developers register a widget with some boolean parameter in the td_api_block::add() method?

Something like:
td_api_block::add(‘td_block_tagcloud’,
array(
‘map_in_visual_composer’ => true,
‘register_widget’ => true,
)
);

…And then creating and registering a class for each widget in the array?

Cheers

Catalin
tagDiv Staff

Hello Timo,

If you want to add blocks content underneath of the comment section for each post, you can do that if you are using do_shortcode method. First of all, you have to get the block shortcode from Visual Composer, like this -> http://screencast.com/t/0q9H5cbW -> http://screencast.com/t/Ei4AYqlilpc Please notice that you have to introduce the code for each single template is used by you.

The code is ->

<?php echo do_shortcode('[vc_row][vc_column][td_block_13][/vc_column][/vc_row]');?>

The result you should see here -> http://screencast.com/t/xn9hS5s9

Hope this helps!

Thank you for the message!

GIORGIOBENEDETTI
Participant
#0

Hi, I installed Fashion demo but I don’t find where is set background image for static News page. I understood that is strictly related to visual composer template, surely for this block: [td_block_homepage_full_1 sort=”featured” td_filter_default_txt=”All”], but where can I edit the images?
B/R

Bogdan B.
tagDiv Staff

Hi,
You can add your custom ad in an ad box in visual composer and then get the sortcode for it. For example
[td_block_ad_box spot_id="custom_ad_1"]
Then you can use the do_shortcode function like so:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]')?>
Then you can insert this code directly in one of the post template files: http://screencast.com/t/XcVZQFqLiS
Add the code where you want it to appear: http://screencast.com/t/JiV0WVpXx
Thanks.

Bogdan B.
tagDiv Staff

Hello,

1) You simply need to ad the ad title in order to get them aligned: Please use the adbox for your ads:
http://screencast.com/t/pp2ggA0uB5y (It requires the use of the ads section in the theme panel.)
2) You can add a custom css class to a row in visual composer and then use css to style it
for example: http://screencast.com/t/52xQ9CzHPL and then use css to add borders:
.mycustomrow{
border:2px solid black;
}

It will require further customization though
3) That is because you have a different implementation of the title. You use a text with title and since it’s a different element. Again you will have to use a custom class on your row because this css will affect every other text with title:
.td_block_text_with_title {
padding-bottom: 5px!important;
}

after you add the custom class you would use the code like so:
.mycustomclass .td_block_text_with_title {
padding-bottom: 5px!important;
}

4)You can use this css:
.type-post .entry-title a, .type-post textarea{
color:black!important;
}

I hope this helps.
Thanks.

steve2
Participant
error 500 - topic
#0

Server error 500 on
if both revslider and composer enabled i get this

PHP Fatal error: Call to undefined method WPBakeryVisualComposer::getInstance() in /home/!!!!!!!!/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 1139

Bogdan B.
tagDiv Staff

Hello,
For each block the theme make a custom query depending by the filter set in Visual Composer. The query is made in td_data_source.php here http://screencast.com/t/qwy075xXq and the arguments for it are defined here: http://screencast.com/t/8P8ntnH8Nu
The theme does not have options to add custom queries to the blocks or for posts.
Thanks.

Bogdan B.
tagDiv Staff

Hello,

Unfortunately this update from such an old version will be like switching to a whole different theme. Lots of things have changed in the meantime.
1)
a. You can turn off the slider animation from the lazyload setting: http://screencast.com/t/1e7GmiXoK3r
b. You can use this custom css to remove it only from the big mkodule:
.td_module_mx9 .td-post-author-name{
display:none!important;
}

c. The images are to blame here, not the grid itself. You need to regenerate your thumbnails using the “force regenerate’ plugin
2) Unfortunately the gallery format was removed so if you have double images n your posts, you will either have to remove the doubles by hand or use post style 5 which does not display the featured image.
3) This is the position of the pagination in the current theme. Please check how it should display on our live demo here: http://demo.tagdiv.com/newspaper/
4) Unfortunately the article titles in modules and blocks can only be changed with css as the theme has no option to change their color. (you can change the active hover color from visual composer block settings as seen on our demo homepage.)
You can use this code to change the titles:
.td_module_wrap .entry-title a{
color:blue!important
}

I hope this helps.
Thank you!

Catalin
tagDiv Staff

Hello Matija,

I suppose that you are referring to Image Gallery as Visual Composer element. If you want to have background for this kind of element, you have to set it the stretch row and background-color for whole raw that contain this element from Visual Composer, like this -> http://screencast.com/t/bAfureuRGpu -> http://screencast.com/t/OtscDpTG1 -> http://screencast.com/t/FyIAEuxulQnk and the result you should see here -> http://screencast.com/t/xnnTDqYCUj8U
For your second request, unfortunately, the image will be fitted only by our width which is 1068 px. We cannot recommend increasing this because the layout of the site will be broken. If you want to display more levels in our theme and you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!

Hope this helps!

Thank you for the message!

Catalin
tagDiv Staff

Hello poporil,

If you want to change the icon for Comments with the word Comments, you have to alter the code where this icon is called, like this -> http://screencast.com/t/WL593sA7lj7 and the result you should see here -> http://screencast.com/t/Rmvt4xr2
For your second request, I suppose that you want to add other block under the related articles. If you want to do that, you have to alter the code from this type of template and use do_shortcode method to add the block. Please follow the next steps in order to achieve as you wish. In continuation, I will give you an example for inserting block_1 in post template style 1. First of all, you have to add the code from Visual Composer like this -> http://screencast.com/t/AxKsYI5m and the code will be this -> and you have to implement it inside this core file, like this -> http://screencast.com/t/KJSfXWdeDpIU and the result you should see here -> http://screencast.com/t/i1x6gGi58bL3

Hope this helps!

Thank you for the message!

Bogdan B.
tagDiv Staff

Hi,
Please check the visual composer settings under role manager: http://screencast.com/t/tPU4j4H3dtd and make sure you have everything checked in there. If the problem is still there, you can also try to disable all plugins except visual composer to see if there is no plugin conflict.
Let us know how it goes.
Thank you!

david36930
Participant
#0

When I try to install Visual Composer, it comes up with this message.

The plugin does not have a valid header.
Downloading install package from http://www.luxuryfocus.co.uk/wp-content/themes/Newspaper/includes/plugins/js_composer.zip…

Unpacking the package…

Installing the plugin…

Destination folder already exists. /home/hp3-linc1-nfs2-z/167/407167/user/htdocs/wp-content/plugins/js_composer/

Plugin install failed.

Any Ideas on how i can resolve this?

Thanks

Bogdan B.
tagDiv Staff

Hello,
1) You can hide the arrows with css like so:
.sf-menu .td-icon-menu-down{
display:none!important
}

2) I assume you are referring to this block element: http://screencast.com/t/OvRgtnFv
It’s actually a block 14 in a full width row from visual composer and with a background color added to it.
Thank you!

Bogdan B.
tagDiv Staff

Hi,
If you have any doubts if a problem is a theme related issue or an issue on your end, then you can always check our live demo to see how it should display. In this case: http://demo.tagdiv.com/newspaper/td-post-lenovo-details-new-computers-that-could-be-heading-our-way-in-2015/
As you can see it’s not a theme error. Please disable all your plugins except visual composer, clear cache and reset cdn if you use it. If the problem goes away, it means you have a plugin conflict and you need to identify which one is causing the problem.
Let us know how it goes.
Thanks.

Bogdan B.
tagDiv Staff

Hi,
I’m not sure why these issues happens. We have no reports of this yet. We also have apostrophes on our demo but the issue is not present: http://demo.tagdiv.com/newspaper/td-post-patricia-urquiola-coats-transparent-furniture-for-glas-italia-with-an-iridescent-sheen/
Please disable all your plugins except visual composer and clear your cache. There could be a plugin conflict that creates the issues. it can also be the cause of the third party ads as the theme has no such ads except for the ones that you implement.
Thank you!

Viewing 25 results - 9,576 through 9,600 (of 9,951 total)