Search Results for 'td composer'

Results from the Forum
rebelone
tagDiv Member

I also had a fatal error updating the theme. Already tried visual composer and cleared cache, but it didn’t work:

Warning: require_once(td_deploy_mode.php): failed to open stream: No such file or directory in /kunden/403446_74074/viel-unterwegs/wp-content/themes/Newspaper/functions.php on line 14

Fatal error: require_once(): Failed opening required ‘td_deploy_mode.php’ (include_path=’.:/usr/local/lib/php’) in /kunden/403446_74074/viel-unterwegs/wp-content/themes/Newspaper/functions.php on line 14

(http://viel-unterwegs.de)

simchris
Participant
#0

Hi, folks
I’m “re-tuning” the NM 3.1 – having moved from v2 (finally!). Working great with the beta TD Composer so far, but barely touched that.

I’m looking to completely remove these loading from theme:

http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&ver=4.6
http://fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C700%2C700italic%2C400italic%2C300italic&ver=4.6

and instead use the new default font stack used by WordPress 4.6x in place of Open Sans.

This new font stack is a little better than the one I have been using (noted in my epic optimization tutorial thread near the end) as it is tuned for modern mobile devices much better than my desktop focused version:

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

(REF: https://make.wordpress.org/core/2016/07/07/native-fonts-in-4-6/ )

This would make a nice “default” setup for Newsmag, “unless Google fonts chosen,” vs default having Google fonts chosen.

In any case, if you can help me out by pointing me at the correct files to tweak to make this change would be awesome. Things have moved around a bit, so the old search/replace in style.css not quite same method now 🙂

I have no problem hacking a core file to remove Google font calls, as I’m prepared to do that each theme update for my other tweaks.

THANKS!

Andrei L.
tagDiv Member

Hi

Basically you will need a function which pass the value from url as a tag in block’s shortcode. Here is an example code which insert a custom value in shortcode:

$v = $_GET['val'];
$block = '';
if (isset($v)){
$block .= do_shortcode('[vc_row][vc_column][td_block_11 tag_slug="' . $v . '" limit="3"][/vc_column][/vc_row]');
}

This code can be used as a function in fuctions.php then you can try to generate a new shortcode for that block using add_shortcode() function. For more details about add_shortcode function check this link: https://codex.wordpress.org/Function_Reference/add_shortcode After you generate the shortcode can be used in visual composer. This link may also help: https://codex.wordpress.org/it:Riferimento_funzioni/do_shortcode

Note that you will need some codeing skills in order to complete this task. I’ve offered just a basic example above but if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you as we can’t offer customization services at the moment.

Thanks!

simchris
tagDiv Member

NEWSMAG OPTIMIZATION EFFORT 2016
——————————-
PRECIS:
* WordPress 4.6
* Newsmag 3.1
* tagDiv Composer v1.0 BETA
* TD Speed Booster plugin – Version: 4.5
——————————-
I am re-optimizing my network sites since upgrading from v2 v3, and needing to revisit all the past steps from past 3 years with new TadDiv tech, code, etc.

This project presumes I will do several advanced things
1) run mod_pagespeed on deploy; currently disabled for all other efforts; with proper webp format support added as mime type and in htaccess (MPS converts some png files to base64 inline, and others to .webp format when better than jpeg)
2) compress main css and js files not already compressed after ‘thinning’
3) decomment some TD files loaded by pages which are (ahem) overly commented
4) have proper gzip/deflate/TTL elements on server
5) no caching used for initial deploy (MPS uses opcache/memcache)
6) move CSS to footer and use critical CSS generator for inline above the fold CSS
7) test free SSL cert and http/2 on our new server for 2017
8) test move to PHP7 from PHP5

Follow along if the mood strikes; I’m just sharing my info not offering to consult with you (you cannot afford me, in most cases). Please do not post any questions until I post the info during last half of August 2016, as you can “try” any of my changes if you wish, at your own risk.

I am using Unix/Linux, CentOS, Plesk 12.5x (will likely move to ONYX when releases for 2017); Apache with NGINX in front; dedicated server, 1GB connection to network in Class A datacenter in Texas, USA. Running PHP 5x with PHP7 installed and will test ‘7’ once initial deploy stable with my ‘thinning’ and optimization.

Hey party people, it’s on!

  • This reply was modified 10 years by simchris.
simchris
tagDiv Member

I don’t think any kind of “slideshow” would work unless you have build out your own custom template. AMP is really more for stories, not for viral slideshows.

In our case we were able to do our own ‘related posts’ using the CRP plugin, then simply including the shortcode via a hook, along with a string to include link back to the story page and message to follow us on Apple News channel if using iOS device.

If I have time I’ll try to post that someplace.

Right now I’m in process of “thinning” Newsmag 3.1 along with the custom composer plugin to replace the v2x version and TD ‘SHIM;’ for one of our sites as text (server crash messed up the site, so seemed good time to move onward ) … just took 50kb out of main style.css since we don’t use BBpress/forum or Buddypress. Boom 50KB gone from style sheet 🙂

oraan
Participant
#0

Hello,

The website is http://www.stiintasitehnica.com

A month ago, we updated the wordpress and the theme

Almost everything went well, except the visual composer
The colored icon redirects to vc.wpbakery.com, to buy the page builder plugin.
So we use Classic Mode only to modify articles in the main slider.

Now we tried to update to the last version of the theme
And the homepage slider dissapears

Also, we encountered some security issues
After a scan, we discoverd exploits in the following plugins:
– wp-content/plugins/js_composer/include/footer88.php
– wp-content/plugins/jetpack/json-endpoints/class.wpcom-json-api-get-customcss.php
– wp-content/plugins/td-social-counter/widget/cache.php
– wp-content/plugins/wordpress-seo/admin/formatter/class-metabox-formatter.php

Any idea is welcome 🙂

tnx,
Oraan

newsblaze
tagDiv Member

I just don’t want to load down my site with bloated stuff that isn’t needed.
I also found a big chunk of Buddypress CSS – why is that there?

I’ve removed some of the things I don’t think I need and that has taken the 876K down to 691K. (I estimate I can get it down another 100K.

The minified complete style.css is 648K and the cutdown minified css is 489k

Before, My story pages were loading in 8+ seconds. Now they are loading in 4 seconds.
That is better, but I want them to be faster. That is why I want to remove anything that doesn’t need to be there. I haven’t tried it with the cutdown CSS yet.

I’ve also tried most of the things suggested by Chris, including preventing Visual Composer loading in stories (posts).

After this, I will work on shrinking VC for the front page.

Then, I will try using Varnish and nginx rather than Apache.

Andrei L.
tagDiv Member

HI

To achieve that you need to edit the file corresponding with post template used and echo out there one of theme’s ad-spots. First you need to get ad’s shortcode from Visual Composer. Add an ad-box on a blank page, chose the desired ad-spot, press CLASSIC MODE button and copy the shortcode: http://screencast.com/t/CvyiAdvTo then paste it here: http://screencast.com/t/SAp89QNhaOEK

In above example I’ve used custom ad 1 on post template 1, but you can use any ad-spot from theme panel.
Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

You can read more about the mobile theme plugin here – https://forum.tagdiv.com/the-mobile-theme/ It comes with its own templates and it was not designed to work with Visual Composer so there are no blocks that could be used on mobile theme. Please note that it is an optional plugin and if you’d like the same content that you have on desktop, you can disable it.
If you load Swedish language from theme translation system, all the theme’s strings will be translated also on mobile devices, even if you use or not the Mobile Theme plugin – https://forum.tagdiv.com/loading-translations/ Or you can translate Latest Articles manually – https://forum.tagdiv.com/customize-a-translation/http://screencast.com/t/tkQytPCWlR3K I have checked this on my side an did not found any issues – http://screencast.com/t/VmsrmdXPLxy

I suggest to use the recommended size for mobile logo – http://screencast.com/t/amS1BHog4
However if you want to use it like it is know I will provide a css code to increase its size – http://screencast.com/t/l6Nj75et

@media(max-width: 767px) {
div.td-main-menu-logo img {
max-width: 186px;
}
}

Thanks!

Catalin
tagDiv Staff

Hello Piyush Bandi,

Please notice that your version of Visual Composer is outdated. First of all, please download the latest version of the Envato Market using your account and then install the theme via FTP because this is the surest method in this regard, according to our documentation here -> https://forum.tagdiv.com/install-via-ftp/ Then, you will have to remove the old version of the Visual Composer and install the version which comes bundled with the latest version of the theme (->Newspaper 7.3 with Visual Composer 4.12 and Social Counter 4.1), clear all your caches and check the results. For more information about how you can update your Visual Composer, please check here -> https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Please notice that you will have to keep the step with each updating of the theme.

Hope this helps!

Thanks.

Bogdan B.
tagDiv Staff

Hi,

You can use visual composer elements to create a photography presentation. You can also use a gallery: http://demo.tagdiv.com/newspaper/td-post-aston-villa-beat-liverpool-to-join-arsenal-in-the-fa-cup-final/
Unfortunately for the attachment template, our theme does not provide any customization settings apart from the sidebar.

Thank you!

Bogdan B.
tagDiv Staff

Hi,
Sorry, I thought the breadcrumb ‘home’ is the one you want to remove. You can simply chose another page template like the default one which will not show the title if visual composer is used http://screencast.com/t/Bo4JCPyN or as an alternative, you can use this css:
.home .td-page-title{
display:none!important;
}

Thanks.

gmtrevor
Participant
#0

Hello updated to 7.3 and i have followed the steps on the tagdiv guide to updated visual composer and then added TG Composure.

Once i have completed these stages i am getting the following error Fatal error: Call to undefined method td_util::is_pagebuilder_content() in /home/polhour/public_html/wp-content/themes/Newspaper/page.php on line 37

Any help would be welcomed,

Andrei L.
tagDiv Member

Hi

You can build your page and ass all desired content on it then add it in top menu like this: http://screencast.com/t/HwcXkBCcQh Also make sure that you enable top menu from theme panel > header: http://screencast.com/t/Sg2jEqCF
Please note that td-composer is still a beta version. Also it was mostly tested on Newspaper theme but works good enough with Newsmag too. However we can’t recommend it yet as a page-builder for a live site as there is still a lot of work to do until the plugin will work properly from any point of view. We release the plugin so users can test it and give us back their feedback.
Instead we hardly recommend the usage of Visual Composer plugin which is tested and works fine with our theme. Fore more details about plugin’s usage please check our documentation: https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/https://forum.tagdiv.com/newsmag-homepage-how-to-build-and-set-it/https://forum.tagdiv.com/newsmag-block-settings-tutorial/

Let us know how it goes and if you need further assistance please provide more details about what you’re trying to do, also some screens pointing the desired result would help.

Thanks!

Hari
Participant
Pages - topic
#0

Hello tagdiv,

I purchased your theme Newsmag from themeforest website. I want to have a demo page for Advertise link located at top-menu. Also, I wnated to know how can I build pages with the help of your td-composer because visual composer you guys provided do not have all the required options like page section, fancy title, and many more which I used in Jupiter theme. I used Jupiter theme for another project I’m doing for my tour agency.

Please help me build pages in my website: http://www.theaccelerator.in

Andrei L.
tagDiv Member

HI

A) Yes indeed our theme removes the front-end part of Visual Composer’s page-builder because it’s not working properly with theme’s blocks. We also added 25 new blocks which works only with our theme. We don’t recommend any third-party plugins or additional ad-ons for our theme. The theme is tested and work fine only with Visual Composer plugin which is included in the path available o themeoforest. You can try additional software if you want but we can’t support it and also we can’t say how will work with Newspaper.
B) The theme is tested and search page works fine with any module used, including module 17. I am not sure why the page breaks on your site but you can try to deactivate all plugins, except Visual Composer, clear all caches then test again. If the problem persist please provide your site url so we can have a closer look.
C) We need site url for further investigations.
D) Try this css in theme panel > custom code > custom css:

.td-social-google, .td-social-pinterest {
display: none!important;
}

E) The theme uses default wp implementation for authors and there is no option which allows you to add multiple authors for a post. You can try a plugin with similar functionality but we didn’t made any tests in this regard and I can’t make any recommendation.
F) You can set a primary category for each post, primary category will be displayed on modules and blocks if is set: http://screencast.com/t/7KmMi5qqKCd
G) Yes you can filter posts by multiple categories using this field from block settings: http://screencast.com/t/bsMWXZCAUUYh For more details in this regard please check this link: https://forum.tagdiv.com/block-settings-tutorial/

Hope this helps.
Thanks!

Andrei L.
tagDiv Member

Hi

Try to deactivate all plugin except Visual Composer, clear all caches then test the site again. Then activate TD Composer and check how it works. Note that the plugin is still a beta and is best to try it on a test wp-install. just to make sure that it won’t break site’s functionality. There might be a conflict between TD Composer and other plugin that you have installed in your wp.
The best environment for testing would be on a sub-domain with a fresh wp-install with this configuration:

– last version of wordpress
– last version of Newsmag (we did extensive testing and development on Newspaper but it should also work on Newsmag)
TD Composer plugin
– optionally you can install Visual Composer.

Thanks!

ntvweb
Participant
#0

I just installed the Page Builder, but now, the panel styles are not loading …
screenshot > https://drive.google.com/file/d/0ByYKnygx9BswdlJaT2hPOUlUcHc/view?usp=drivesdk

and the demos tab is on the live view:
screenshot > http://www.awesomescreenshot.com/image/1444730/7995a9150c2871e03b8dfbf762606958

Also edit with TD Composer link just goes to a Blank white page.
screenshot > http://www.awesomescreenshot.com/image/1444733/637b318d574d4d07a5bae5a97a35d7a3

gilvancn
Participant
#0

I wonder why the smart sidebar does not work when the sidebar is set to the left side. And if the line of visual composer also is the model that appears on the left sidebar.

With this setting up the visual composer sidebar line does not scroll (smart sidebar effect).

DETAILS:
1. I put both the necessary places the css code: td-ss-row
2. This setting’m doing on a page used to Homepage.

——
TRADUZIDO DE:
Gostaria de saber porque a smart sidebar não funciona quando a sidebar está configurada para o lado esquerdo. E se a linha do visual composer estiver também no modelo que aparece a sidebar no lado esquerdo.
Com essa configuração acima a sidebar da linha do visual composer não rola (efeito smart sidebar).
DETALHES:
1. Coloquei as ambos os lugares necessarios o codigo css: td-ss-row
2. Esta configuração estou fazendo em uma página usada para Homepage.

solidoes
Participant
#0

I just upgraded to version 7.3 of Newspaper, I also actulizado the Visual Composer plugin and all TD plugins. The problem is that on the main page http://www.periodicoelnazareno.es/ to Top I have a Big Grid 3 item that is not displayed correctly. Please you can help me, thanks.

Screenshot: http://prnt.sc/by8q00

Newspaper: Version 7.3
Wordpress: Version 4.5.3

dede
tagDiv Member

Hi,

Thank you for your answer.
I just install TD Composer and now is no problem.

Catalin
tagDiv Staff

Hello gsmadvert,

Actually, if you want to use the ‘Homepage post’ element from Visual Composer to your category page, please notice that you will have to use the do_shortcode method in order to achieve as you wish. First of all, you will have to create the shortcode using the Visual Composer editor, like this -> http://screencast.com/t/7lbVJ3Fm2Sz -> http://screencast.com/t/VM5LKmMUv0i -> http://screencast.com/t/LO6nrg2cHM1o and the snippet of the code which has to be added in the corresponding category post style used by you are the following code ->
<?php echo do_shortcode('[td_block_homepage_full_1]'); ?>
For example, if you are using the category top posts style 1, you will have to add this code in td_category_top_style_1.PHP, like this -> http://screencast.com/t/txOSy4wD and the result you should see here -> http://screencast.com/t/ewi0BhnetwL

Hope this helps!

Thanks for your understanding!

thehhh
Participant
#0

I installed the latest Visual Composer V.4.12 and of course updated to Newspaper 7. For some reason, when I add the Newspaper demo, I can’t edit anything. I can’t add any new TD blocks, they don’t show up at all, in Visual Composer and even the demo blocks aren’t editable for me, (Title, Color etc…)

Any idea why that is?

Thanks

Bogdan B.
tagDiv Staff

Hello,
It seems to work fine on our end: http://screencast.com/t/4xBeM6zUXqM
Please test our demo version as well and see if the problem is still there: http://demo.tagdiv.com/newspaper/td-post-the-new-screen-savers-the-show-that-launched-video-into-the-stratosphere/
Your site provides the error, yes, which means there is something on your side that is affecting it. Please disable all plugins except visual composer, clear cache and reset cdn files. Also if you have any custom code added, restore the theme to it;s default values. If you use a child theme, please activate the main theme and test again.
Let us know how it goes.
Thank you!

boos11
tagDiv Member

i change with shortcode [td_block_big_grid_4 category_id=””] on grid 7, its ok, but

I editing page “home” and i heve only shortcodes with text page and BACKEND & CLASSIC EDITOR with button Visual Composer. My visual composer does not work:

i cant edit site with Visual Composer

i haven’t this option

  • This reply was modified 10 years by boos11.
Viewing 25 results - 9,426 through 9,450 (of 9,951 total)