Search Results for 'use visual'

Results from the Forum
James Christou
tagDiv Member

Hey,

We were able to add config to each of the block settings (in visual composer) using a function hooked to admin_init. This allows the user to specify a list of terms in that taxonomy and filter the results by those terms.


function extendCustomTaxonomyOptions() {
// Check if Visual Composer is installed
if ( ! defined( 'WPB_VC_VERSION' ) ) {
return;
}

// Retrieve all Lifestyle taxonomy
$terms = get_terms('name_of_your_custom_taxonomy_here');
if( !is_wp_error( $terms ) && count( $terms ) > 0 ) {
$dropdown = array(
'Disabled' => 'disabled',
'All Custom Taxonomy Terms' => 'all'
);
foreach( $terms as $term ) {
$dropdown["- {$term->name}"] = $term->term_id;
}

// Param to be added
$new_param = array(
'type' => 'dropdown',
'heading' => 'Filter based on custom taxonomy',
'param_name' => 'adv_filtering_custom_taxonomy',
'group' => 'Filter',
'admin_label' => true,
'value' => $dropdown,
'description' => __( 'If selected, will further filter the posts based on the custom taxonomy', 'vc_extend' )
);

// Integrate and add new parameter to the options available from the parent theme
// See https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524335 for more info
for ( $i = 1; $i <= 16; $i++) {
vc_add_param( "td_block_{$i}", $new_param);
}

vc_add_param( "td_block_slide", $new_param);
}
}

Then we added some custom code in a child theme copy of the td_data_source class to read those settings and filter the results. This was added to the end of the td_data_source::shortcode_to_args() function, just before returning the $wp_query_args:


if( array_key_exists( 'adv_filtering_custom_taxonomy', $atts ) ) {
if( $atts['adv_filtering_custom_taxonomy'] != 'disabled' && !empty( $atts['adv_filtering_custom_taxonomy'] ) ) {
// Add new taxonomy in the query
$query = array_merge( $wp_query_args, array(
'tax_query' => array(
array(
'taxonomy' => 'name_of_your_custom_taxonomy_here',
'field' => 'term_id',
'terms' => $atts['adv_filtering_custom_taxonomy']
)
)
));
}
}

Hope that helps!

Vesa
tagDiv Member

Hi Catalin,

I appreciate your continued help.

I had to restore a recent backup. Maybe you could have a look at our current layout and contrast it with that in the picture.

http://vastavalkea.fi/

I do have Visual Composer installed; it’s just not the latest version. The funny thing was that the settings seemed to be correct (=the same as before theme update), yet for some reason there were additional, unwanted categories like “Latest articles”, “The most popular posts” and “Popular category” (all in Finnish, of course) at the bottom of the front page. They were not there before the update.

I also noticed that my translations were missing.

TagDiv’s instruction video says “Delete the old version of the theme.” At that stage I deleted the “Newspaper 4 child theme”, which was active. Afterwards I have wondered if I should have deleted the Newspaper 4 main theme, not the child theme. Which should one delete?

Note that I have made customizations to a number of php files – for example, td_block_8.php – and added customizations in the CSS Editor. Does this cause problems when updating?

Best,
Vesa

Andrei L.
tagDiv Member

Hi

I can’t accuses your site: http://screencast.com/t/XPNeri3ly
Please make sure that you’re using the latest version of the theme available on themeforest, V2.3.5: https://forum.tagdiv.com/newsmag-how-to-update-the-theme/ clear all caches, deactivate all plugins except Visual; Composer and test again.

Thanks!

Catalin
tagDiv Staff

Hello Vesa,

I have checked your image and saw that you do not have Visual Composer installed. Please try to update it to the latest version and also and the other that come bundled with our theme. Please try to redo your menu because on the 6’s version was changed and differs slightly from 4’s version. Also, please provide more details about what kind of layout do you want to have so I will be able to provide a more accurate response.

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
You can maybe use the shortcode from the post page and add it in visual composer in a raw html or a text box. Unfortunately we have no official solution for it as the plugin is not tested and we have no idea of it’s functionality.
Thank you!

Bogdan B.
tagDiv Staff

Hi JR,
You can also try to remove all plugins except visual composer to rule out a plugin issue. Also please make sure you use the latest version of the theme.
Thank you!

Mallouni
Participant
#0

First I created a VIMEO playlist and it worked fine (I used the Visual Composer to insert the widget VIMEO Playlist). Yesterday I tried to change the content of the playlist, but it didn’t worked. The widget is displayed correctly on my website, but the content-list is empty. What is wrong?

My site (VIMEP-playlist at the bottom of the page): http://mallaunp.myhostpoint.ch/

Please help!

Catalin
tagDiv Staff

Hello mikebare,

This kind of delay it might be caused by the interference between your untested plugins. Please try to disable all the active plugins, leave just Visual Composer and install only the plugins that come bundled with our theme and rule out the conflicting plugins. Check your backend after this advice and see if your problem is still there. Also, try to enable one by one and trying to identify what kind of plugin generate this problem.

Hope this helps and let us know how it goes!

Thank you for the message!

Catalin
tagDiv Staff

Hello BigN0701,

I suppose that you have used the 2 column layout from the Visual Composer and you have added the Big Grid 4 like this -> http://screencast.com/t/asvmGUZgfyWl Please try the code below and add it in Theme panel->Custom CSS area.

The code is ->

.td-pb-row [class*="td-pb-span"] {
padding-right: 2px;
padding-left: 2px;
}

If you want to target a certain page where to applied this code, you have to add before the code that I provided you above. For example, if your big grid is on the home page, you can target this page with .home before the code like this ->

.home .td-pb-row [class*="td-pb-span"] {
padding-right: 2px;
padding-left: 2px;
}

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

If you want to target the other page, you have to use the page id -> http://screencast.com/t/lgssXeIBFNSf

Thank you for the message!

Catalin
tagDiv Staff

Hello rishab55555,

Please try to update to the latest version Newspaper 6.6.4. Before this, please make sure you have done a full backup for your all customization because these will be overwritten with the latest update. For more information about how to update your theme, please consult our documentation here -> https://forum.tagdiv.com/how-to-update-the-theme-2/ -> https://forum.tagdiv.com/how-to-update-visual-composer-plugin/

Thank you for the message!

Catalin
tagDiv Staff

Hello Hivvu,

Unfortunately, our theme does not have such an option to change the functionalities for Big Grid feature. Please notice that kind of feature is a very complex element of Visual Composer and all the available settings can be found here -> http://screencast.com/t/JJnhTm8z In order to achieve as you wish it is necessary to alter the code from Big Grid file and this implies to have better knowledge for hard-coding and also, custom work. If you are not aware the steps in this regard, please consider hiring a freelancer/developer to implement this for you in our theme because we cannot provide custom services at the moment, sorry!

Thank you for your understanding!

Catalin
tagDiv Staff

Hello azzurevision,

I have checked your search page and I noticed that everything seems to work as expected as you can see here -> http://screencast.com/t/AytRtjmIjyUv This kind of problems might be caused by the conflicting plugins. Please try to disable all the active plugins, except Visual Composer and instal only the plugins that come bundled with our theme and rule out the conflict between plugins. Please try this advice and if your problem reappears after this, please let us know.

Hope this helps and let us know how it goes!

Thank you for the message!

Bogdan B.
tagDiv Staff

Hello,
It could be a plugin conflict. I have checked your website again but everything seems to display fine. If you still encounter this error, please clear your cache and reset CDN if you use it. You can also try to disable all your plugins except visual composer.
Thank you!

editify
Participant
#0

Visual Composer keeps on loading. I don’t know why I . I can’t use it.
My system configurations are all green.

simchris
tagDiv Member

The trick with visual composer is to do your site layout, try to see if Radu’s beta “shim” works with latest version of Newspaper; then disable VC. Use the custom code to in functions remove VC loading anywhere except home page, make sure you have a lot of RAM allocated to a big site (I use 768MB for mine … but I’ve got dedicated box; 256MB for smaller sites). Limit number of queries in sidebar, don’t use the fancy “related post / more from author” (I use a simple text based related post plugin which prints 5 related stories below story above author box, and then THAT is cached with the post by the plugin!).

This kind of “tuning” can help with a very complex theme like Newspaper. Obviously a simpler “lean” theme will use less resources, due to having fewer bells and whistles. Trick is to trim some of the bells, and only use couple of whistles.

At least that was my experience.

gekkie96
Participant
#0

First off, thank you for this amazing theme.

On my homepage I have the Homepage post block inserted through visual composer and it looks amazing.

I was wondering if its possible to have a read more button appear below the subtitle on the homepage? I was able to manually add the button by adding it to the subtitle input on the post but the problem is it shows the read more button on the post page.

I’d like to be able to have a read more button below the post subtitle on the homepage only for the featured post that uses the homepage post widget.

Thanks
Aaron

JBH
tagDiv Member

Hi Catalin,

The issues above are solved thanks to your support!
New challenges are here to come 😉

1. The visual composer text block font size is different on posts and pages. At posts it’s correct, at pages the font is to small. You can try it yourself and see the difference when you paste the HTML code below on a page, and on a post.


[vc_row][vc_column][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row]

2. I’ve upgraded from the old v4 to the new v6. In the old version the i was used to edit text with ‘quote’ options. unfortunately they are gone in v6. Is there any possibility to use them again?

example: [quote_center]text[/quote_center]

Thanks again.

JB

Catalin
tagDiv Staff

Hello Larshell,

Unfortunately, I cannot recreate the same issue. I suspect this issue that might be caused by conflicting plugins. Please try to disable all the active plugins, except Visual Composer, clear all cache and instal only the plugins that come bundled with our theme and rule out the plugins in conflict.

If you need more assistance in this regard and if your problem is still there, please provide your website URL so I can inspect it closer and provide a more accurate response.

Hope this helps and let us know how it goes!

Thank you for the message!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this guide how to create and set a homepage – https://forum.tagdiv.com/homepage-how-to-build-and-set-it/ and also – https://forum.tagdiv.com/how-to-use-visual-composer/
I’m not really sure what you are trying to do. Do you want to display latest articles after the pagebuilder content? If you do you can set Pagabuilder with Latest Articles template – https://forum.tagdiv.com/page-templates-2/ You can control the latest articles section from page settings – http://screencast.com/t/nO73WuxSqgU
If this doesn’t help please provide more details.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

The theme has some server requirements as it is specified in our documentation – https://forum.tagdiv.com/requirements-for-newspaper/ please to increase php memory and the other parameters like it is specified in this guide – https://forum.tagdiv.com/system-status-parameters-guide/ and also please follow the pagespeed optimization guide – https://forum.tagdiv.com/how-to-make-the-site-faster/
Lately the Visual Composer plugin was optimized a lot regarding the performance and security and recently we did not received any reports about this, also our theme is optimized to work with Visual Composer plugin.
You can also try to reduce the number of ajax using elements on page (mega menus, ajax pagination/load more/infinite load). Also reduce the number of blocks on your main page and enable only the plugins that you need to use.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please make sure you have installed/updated the theme right using this guide – https://forum.tagdiv.com/how-to-update-the-theme-2/ and please make sure you use the latest version of the plugins provided with the theme(Visual Composer, Social Counter..) – https://forum.tagdiv.com/how-to-update-the-theme-2/
If you have also other plugins active please disable them and check this only with Visual Composer active, clear cache and see if it works, if you use child theme please check this by using the main theme.
If you still have issues with this, please send an email at contact@tagdiv.com and provide wp-admin access so we can take a look. Also paste a link to this topic.

Thanks!

salimnazer
Participant
#0

I need to use Module 13 layout in a page using visual composer but I find that it is not available as blocks or modules. Since it is already available for category article display, I was hoping that it might be a simple process to integrate it into the theme if not already available.

I would really appreciate it if you could guide me on how I could use this layout for my article listing in pages.

Module 13 Layout

helyos
tagDiv Member

How do i update the plugin such as will appear ” App Secret Key”?? I ask this because at plugins i have no update.

“Social counter for WordPress. Widget and visual composer block.
Versiunea 3.0 “

ned4spd8874
Participant
#0

I’ve been having an issue for nearly a year now with my site being taken off-line. First I thought it was crappy godaddy hosting, but after moving to host gator and siteground, I was still having issues. I have been working closely with SiteGround and we have concluded that it’s the Newspaper theme that has been causing these issues all along!

When I changed the theme over to a basic one, my site now uses three times less resources! I believe it’s possibly Visual Composer, but am not 100% about that. Is there anything that I can do to reduce the server load when using this theme or do I have to find a new theme??

simchris
tagDiv Member

Try with just the visual composer plugin and no other plugins installed/active (e.g., no reason to use a woocommerce plugin if not usinf WC). Try not using child theme. Make sure you have at least 64MB allocated to WP. Make sure the paths are correct for WP to find itself.

Viewing 25 results - 5,376 through 5,400 (of 7,617 total)