问题标签 [visual-composer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
css - 文本或 Google 字体未在 Chrome 中显示
我们网站(链接)的一些使用 chrome 的用户说,由于某种原因,文本块没有显示在网站上。
我也使用 Chrome,一切正常。我在下面附上了问题的图片。
希望有人可以帮助解决这个问题。
不显示文本块:
php - PHP数组第一个变量无法识别
我正在创建现有 Visual Composer 插件的扩展。一切正常,但一个变量无法识别。我不知道为什么。
在 Visual Composer 中,我创建了这张地图:
[...]
并且可以选择所有 Vor_Icon_styles 并扩展类。但不是“BG-SPRECHBLASE”。
有人有想法吗?
格里兹,谢谢!
php - 想要根据 Visual composer (WPBakery) 中的自定义帖子类型类别缩小数据源
我有一个“小屋”的自定义帖子类型,有类别(1 床、2 床、3 床)。
我可以在我的functions.php中使用以下vc_map在Visual Composer中显示一个元素:
然后,我知道它使用以下 php/html 代码显示(也错开特征图像行、发布内容...发布内容、特征图像)
这是我完全迷路的地方!:
- 我想在 Visual Composer 中选择基于一个或多个类别来缩小数据源的范围(记住它们是自定义帖子类型类别)。
- 我想我需要在我的第二个块 (php/html) 中添加额外的代码,以确保只显示选择的类别。
帮助!我一直在做从我能找到的任何可能有帮助的代码中剪切-n-粘贴的菜鸟技巧,经过一天之后我仍然失败了!
是的,我知道 VC Post Grid 元素会很好地过滤,但我不喜欢前端那些 Post Grid 块仅在页面其余部分完全加载后几秒钟加载的方式。
谢谢京东
wordpress - Visual Composer Post Grid 自定义查询 Sticky Post 问题
我在我的 wordpress 网站上使用http://vc.wpbakery.com/的视觉作曲家。我的问题在帖子网格的自定义查询中。
我只想通过以下查询从最新的猫“ID20”中排除粘性帖子:-
但是粘帖还是出现了,我做错了什么?
wordpress - Visual Composer wordpress 中的无限滚动
我在我的 wordpress 网站上使用http://vc.wpbakery.com/的视觉作曲家。
是否可以在 Visual Composer 中使用后网格进行无限滚动?我需要额外的插件来完成这项工作吗?有人知道怎么做吗?
javascript - 向下滚动时页面跳转到顶部
查看页面http://www.slide-art.com/get-inspired/。当页面加载后向下滚动时,它会跳回顶部。我尝试过缓慢而快速地向下滚动。
它只发生一次,在它跳回顶部后问题就消失了。我使用 Visual Composer 的现有主题(Mr. Tailor)。我还没有更改代码中的任何内容(还)。
有人可以帮我吗?可能是什么问题......以及解决方案可能是什么?
javascript - 模块未定义可视作曲家 wordpress 插件
我是 WordPress 的中级开发人员。
我正在使用可视化作曲家插件开发一个 wordpress 主题。
当我通过可视化作曲家内置博客元素创建博客网格时,控制台中会出现此错误。
imagesloaded.pkgd.min.js?ver=4.6.1:7 Uncaught ReferenceError: module is not defined我在这个文件中看到这个错误 imagesloaded.pkgd.min.js?ver=4.6.1:7 vc_grid.min.js? ver=4.11.2.1:1 Uncaught ReferenceError: _ is not defined
当我更改主题时,它工作正常。
html - 视觉作曲家行中的空白
我的 wordpress 主题中的视觉作曲家行有一个奇怪的问题。
块设置为全宽,但在 RTL 版本中,VC 行在左右两侧显示空白。
你能帮我解决这个问题吗?我试图编辑边距和填充,但无法修复它。
谢谢。
javascript - Change fixed image when scrolling
I'm trying to have a fixed image change when i scroll over 3 particular rows. The image is a phone with an interface which should match up with normal text, as i scroll new text is seen and the phones interface should change accordingly!
I managed to modify a JSFiddle that I found in another thread to do the trick with some text Div's but I can't seam to implement it on my site which have images with URLs as source.
Here's the JSFiddle: http://jsfiddle.net/dB7eF/25/
Here's the JS that seams to do the trick in JSFiddle:
The site is built with Visual Composer so I would love the sources for the Images to be URLs instead of IDs as in the JSFiddle example!