Questions tagged [visual-composer]
383 questions
14
votes
2 answers
render Visual Composer shortcodes onto page
I am trying to echo visual composer shortcodes onto a page.
I've tried both methods below, but they don't work:
functions.php:
Method 1
/*
* add shortcode file
*/
function include_file($atts) {
$a = shortcode_atts( array(
'slug' =>…

Jadeye
- 3,551
- 4
- 47
- 63
11
votes
4 answers
Disable AJAX content Loading in Visual Composer
How can I disable ajax content loading for the Post Grid VC Shortcode?
I don't want the loading dots to show.
Thanks

Cptn
- 123
- 1
- 7
10
votes
1 answer
Visual Composer root shortcode container
I try to add a custom shortcode to visual composer in their editor with the function vc_map.
I succeed to create a shortcode container but shortcode container are always in a "Row" element.
What is the way to create a root shortcode container to…

Inglebard
- 427
- 5
- 14
9
votes
6 answers
Disable prettyPhoto WordPress (Visual Composer)
Hi I'm trying to get WP Featherlight setup as the default lightbox, right now Visual Composer is using prettyPhoto. So I need to disable it, so that WP Featherlight will overwrite it.
I asked wpbakery and I got this response.
Hello, you can…
user6285978
8
votes
5 answers
Is there any way to swap columns in visual composer on mobile responsive?
Is there any way to swap columns in visual composer on mobile responsive?
I want to know it. such as we can swap columns in bootstrap using push or pull class. so can we make something like this in visual composer? i have uploaded images for…

Moiz
- 101
- 1
- 1
- 10
7
votes
2 answers
Get post ID in variable in Grid Builder Visual Composer
I’m trying to get some custom fields inside my custom grid builder. I have added some extra taxonomy and would like to add custom data to display. I’ve read your article here:…

Giovanni Ricciardi
- 83
- 1
- 8
7
votes
2 answers
Visual Composer image carousel doesn't loop properly
It's my first post, so please be forgiving for my english.
I have an issue with Image Carousel VC component. I need to set up something like logotypes slider (5 logos in a row) and when i set it up to display 5 from 6 images there is a gap on the…

Radosław Roszkowski
- 123
- 2
- 8
7
votes
2 answers
How to create dynamic fields in visual composer?
I am creating visual composer plugin for price table. I want to add dynamic textfield so user become able to add multiple text fields for item list as want.
For now it's showing only one text field but user should able to add multiple fields.
array…

Nasir
- 71
- 1
- 5
6
votes
2 answers
How to remove "TypeError: c is null" in Wordpress Page Edit Area
I have a website built in wordpress CMS by using Visual Composer. When ever i Add/Edit Page content i have always got an Error.
TypeError: c is null
...var b=a.getWin(),c=b.getSelection();if(!(c.rangeCount<=0)){var d="SELRES_"+Math....
How i can…

Alex Martelli
- 83
- 5
6
votes
7 answers
How to strip all visual composer shortcode/tags from wordpress's post_content fetched with custom query
I am working on a web-service(API) where i am fetching result WP_query() function and parse that in JSON format. which will further use in android application.
The problem is the post_content i am getting with query is composed by visual composer…

Harish Kumar
- 927
- 3
- 20
- 46
5
votes
1 answer
How to display custom shortcode single image in visual composer in wordpress?
I am trying to display custom fileds created by me in visual composer by using custom short codes. This custom short codes run fine when i am working with heading and text area_html ,but now i want to add single image in this sort code,but in result…
user8443350
4
votes
6 answers
How search replace image url in wordpress visual composer
I Would like to change images url (that was stored as an http IP) and replace it by the https website address.
I already used "better search an replace" in all tables searching for that ip and replaced a lot of url, almost all of them, however the…

Daniel Santos
- 14,328
- 21
- 91
- 174
4
votes
2 answers
shortcode doesn't work when I'm getting content from wp rest api call
I'm trying to get the content of a custom post type called event using wp rest api . everything works fine but I used Wp Backery page builder for creating contents in my event post type and the problem is I'm getting shortcodes without parsing and…

Taghi Khavari
- 6,272
- 3
- 15
- 32
4
votes
3 answers
How to align a widget center in a wpbakery row?
This has got me. I am actually wondering if this is a bug or my theme hindering the visual composer styles. I got a row which has row settings - stretch row. Till here everything's fine. What is I cannot accomplish is to center align a widget (say…

Arshiva
- 426
- 1
- 4
- 14
4
votes
1 answer
Using WPBakery ( Visual Composer) and Advanced Custom fields, I want to create or use an object that displays custom images
I'm currently working on a Wordpress website using the Advanced custom fields and WPBakery aka visual composer plugins.
While I manage to use these two plugins to post custom text, I have problems with images.
What I have tried so far is:
use acf…

charelf
- 3,103
- 4
- 29
- 51