Search Results for 'composer'

Results from the Forum
shogunteam
Participant
#0

Hello,

since I have some articles with tabbed content, I would like to ask, how can I create it using TB composer? I would like to deactivate WP Bakery, since you force the users to keep TD composer active.

Best
Adam

shogunteam
tagDiv Member

I build this page with tagdiv composer:

But after activating wp bakery, the icons got a little bit bigger and when I want to edit it with td composer, I see some weird code and can not edit it. I assume this are wp bakery elements.

I can not upload here a screenshot, so I can not show it to you.

I would actually delete wp bakery, but the problem is, I can not edit articles with td composer. So it make no sense.

garyjones
Participant
#0

Hi All,

I am new to WordPress and Newspaper – my main focus is databases. In a lot of the database forums I subscribe to, and as I suspect most of you know, it’s not uncommon for members to share code that creates a feature – not least because others then frequently take the initial entry, adapt it, then re-post. These sites also quite often also feature a sample code silo.

(@TagDiv Support, there’s a lot of really useful content on this forum but it’s limited navigation, layout and quantity of posts make it difficult to search effectively, not to mention time consuming. Can we have a Sample Code silo? Not only would it be useful for members but possibly limit you having to repeat the same or similar support requests).

BACKGROUND
I have a number of Use Cases that require elements on a web page to display simple listings of external editorial content – similar to a news ticker-type display but with no animation.

Initially, I decided that the TD Composer elements Blocks 10 & 9 were the most suitable – as they were closest to my required simplicity and would only be used for these Use Cases. However, the fact that there is no Newspaper option to duplicate a block within TD Composer, and I want minimal plugins installed, I decided to teach myself the PHP/CSS that would be required to achieve my objectives.

FUNCTIONALITY

  • The link here shows two page elements that have different content and features which were created using the same Block 10;
  • This involved creating new field types using ACF Custom Fields, including a post-type whose options could also be used in a PHP conditional If statement to create the variable field display within the same block;
    The generic fields are headline, media outlet and published date for simple listings and other use cases have additional meta data fields;
  • When the headline linked is clicked on it has to a new web page and go to the external content. The published date must be that of the original editorial, not the WP posting date. This last point is important as I would be bulk uploading posts a few times a week, that will feature a spread of publication dates.

The following provides the necessary ACF Custom Fields setup, the PHP code and the CSS.

ACF Custom Fields
The table below lists out the field names and their setup –

  • Post Type: Required. Field Type is “Select”. Drop down list choices are “Editorial” and “Research”;
  • Title Link: Required. Field type is “URL”. This contains the URL of the external content page. Non-conditional as it applies to both Post Types;
  • Publication Date: Non-conditional. Field type is “Date Picker”;
  • Media Outlet: Non-conditional. Field type is “Text” and contains the name of the external content publication;
  • Media Outlet URL: Required. Field type is “URL”. Conditional logic is if Post Type = “Editorial”;
  • Some Other Field: Required. Field type is “Text”. Conditional logic is if Post Type = “Editorial”;

NOTE: I recently edited one of the Post Type options as there was a typo. I subsequently discovered that in doing so it not only broke all the conditional relationships with other ACF fields, that I then had to reset, but also reset all the Post Types assigned to my posts to a single value – which I also then had to go through and update. I raised this with ACF Support, who said –

“This is expected behavior, each field value is saved independently under each post and it is not recommended to change the field settings after posts have been saved with a value. You can however update all the field settings by creating a query to step through all the posts and pass the new value to the update_field() function. Please take a look at the following resource page for more info on this: https://www.advancedcustomfields.com/resources/update_field/”.

PHP
Block 10 uses the td_module_9.php file. My code amendment is here – https://pastebin.com/vJDbVjMA

Things to note –

  • I have stripped out most of the default php echo statements that display author, WP post date and so on to stop them appearing if your default Newspaper 9 setting is to have these on;
  • I’ve kept the div names etc as much as possible but the naming may not make sense in terms of the fields that sit within. This means the post title font formatting is still controlled by TD Composer’s Block 10 style settings menu. Similarly, the Media Outlet and date fonts can be collectively changed via the Article Meta Info style options;
  • Additionally, as both these fields sit within a span class other style options are possible via custom CSS;
  • You will see the conditional variable for the ACF field, Post Type, along with the other ACF Field variables defined within Function Render at the top of the code;
  • Finally, to display the tags I used the suggestion in this support post (another good example of why a Sample Code silo would be useful), https://forum.tagdiv.com/topic/display-tags-along-the-category-on-the-blocks/. My code already contains the php get_the_tags statement, but you will have to copy Vlad’s Pastebin code to your td_module.php file as he suggests. Note that I amended this slightly as it displayed a field label for the tags and I think it’s obvious what they are;
  • If you want the same, simply remove the following line – $buffy .= '<span>' . __td('TAGS') . '</span>;

CSS
This is here, https://pastebin.com/mjTz8Tua and features comments to explain what it does, which for the most part is reducing spacing and tightening the gaps between fields.

Hopefully, this post is clear enough to enable you to replicate and hopefully extend this functionality. A big thanks to Simion C. at TagDiv for his fantastic support in helping me work through this.

Please be aware, I have only been teaching myself PHP and CSS for about four weeks so I’ve no doubt the experienced community members will have more elegant ways of writing the PHP or CSS.

Please share if you do ?

Best Wishes

Gary

urbandigital
Participant
#0

Hey I would like to add a shadow to the sidebar’s widgets of this page: https://urban-digital.de/leonhard-obermeyer-center/
(using CSS because I edit this page with wordpress editor and not tagdiv Composer)

Thanks!

urbandigital
Participant
#0

Hey I would like to edit my site’s pages (NOT posts) template called “page-template-default page page-id-5647” with the help of tagdiv Composer. How can I do this?

Thanks

website: urban-digital.de

Vlad S
tagDiv Staff

Hello !

Unfortunately this option is not available using the tagDiv Composer. The best way you can achieve this is using flex blocks

We are sorry for the inconvenience !

Thank you !

Vlad S
tagDiv Staff

Hello !

Yes but you will have to deactivate ALL the plugins except the tagdiv composer. Just deactivate them and see what happens. If it’s a plugin conflict it should work.

Thank you !

Simion C.
tagDiv Staff

Hi,

So you don’t want to use the composer for a specific page, you could use the default WordPress editor (classic or Gutenberg). Both have heading elements
https://prnt.sc/osjj38
If this is not what you meant, some more details would be very helpful. Mention what exactly you want to do.

Thanks

shogunteam
tagDiv Member

What do you mean by everything? Theme files and td composer files? Or also wp bakery should be deleted before the update??

phaseoneindustrial
Participant
#0

Hi, great theme, im just starting out,
i would like to create a post using the template import and tagdiv builder.
(creating a post similar to the home page nature template https://demo.tagdiv.com/newspaper_nature/)
i dont want to use a page for this since i want it categorized.
any ideas how to achieve this ?
thanks

Vlad S
tagDiv Staff

Hello !

That can be filtered using the tagDiv Composer in the filter tab as you can see here: https://www.screencast.com/t/6zYDY7mL

Thank you !

shogunteam
Participant
#0

Hi guys,

I have a urgent problem. The text element is missing by TD composer. I can not build any page without this element. I started to test it on a clone with the same settings as in the live version. But after updating the theme to the last version on the website I do not see this element. It is gone. It sucks, since I have thousands of visitors every day and they see a weird website …

do you have any idea why it’s missing? or is it just a bug?

On the other hand TD composer is so slow…

burkert heiko
Participant
#0

Habe die letzten Tage versucht, ohne tagDiv Composer eine überschriftenstruktur zu erstellen bin aber gescheitert. Hat jemand einen Weg gefunden eine überschriftenstruktur von H1 bis H6, ohne tagDiv Composer zu erstellen?

Vlad S
tagDiv Staff

Hello !

You will have to edit it using the tagDiv Composer and select the ROW and into the Style tab as you can see here: https://www.screencast.com/t/LnhIeXsA

Thank you !

Vlad S
tagDiv Staff

Hello !

You cannot do it from a single place. Demos and single post templates are created and editable using the tagDiv Composer. Default templates cand be edited from the back-end.

Thank you !

Vlad S
tagDiv Staff

Hello !

You can do that by using a single post cloud template from the Cloud Library. After you have added your single post template you can customize it using whatever widgets and elements you wish from the tagdiv Composer.

Please follow this tutorial for a better understanding on how to use them: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/

Thank you !

Vlad S
tagDiv Staff

Hello !

If you have created your header using the tagdiv composer then you will the options to change the fonts from the STYLE Tab as you can see here: https://www.screencast.com/t/2tDMv3axi

Thank you !

ralvira
Participant
#0

Hi,

When I click to go in Tagdiv Composer, the page doesn’t loads and I see this grey message

This page isn’t working http://www.boletera.com didn’t send any data.
ERR_EMPTY_RESPONSE

Would this be a hosting limitation like define( ‘WP_MEMORY_LIMIT’, ‘256M’ );? If so, that line of code is not in that file

Thanks,

mc838291
tagDiv Member

Hi, I’m trying to set the fonts globally as well and it’s not working.
My WordPress and Newspaper theme installs are relatively new. I’ve created a menu from scratch and set it as “header main” and it is not a mega menu.

Inside TD Composer, also created the header menu from a blank template and added the ‘header main menu’ element. I did not set any styling.

Then, when I go to the Theme Panel > font settings > header: main menu (and also top menu, mega menu, etc. just in case), and pick a serif font, the style doesn’t work on any element. When I test on the ‘body – general font’ it works. There seems to be an issue with the menu font styles for the header.

Am I building the menu wrong?

theoutliar
Participant
#0

Hi there,

The visual page builder, i.e. the tagdiv composer visual builder that I use to structure my website is gone. Normally when I press visit my website through wordpress it comes up as a ribbon on the top, now that ribbon is gone, meaning I cant see the regular visual builder either.

I only have tagdiv composer and then recently installed WP statistics, those are the only plugins.

Any help would be much appreciated

giwalola
Participant
#0

Hi

I get this error in many of my cloud templates… Invalid data Current state has involved an issue. You could try an UNDO operation (CTRL+Z / CTRL+SHIFT+Z)

I have only this 2 plugins active:

tagDiv Cloud Library
tagDiv Composer

Website also freezes and I can’t refresh it.

How to solve it?

luke-tt
Participant
#0

Hi,

I have a problem and the WPML already tested it and came to the conclusion, if the Newsmag Themeand the tagDiv Composer is activated, there will be an issue with the language switcher in the menu: if the language is set to “german”, I see all the other languages (english, spanish) but If I switch to english or spanish, the menu item “german” disappears.

See screenshot: https://cdn6.eronite.com/images/wpml.jpg

In the footer the language switcher is correct.

So what can we do?

Thanks in advance,
Luke

Vlad S
tagDiv Staff

Hello !

In the posts you will have to apply a single post template from the Cloud library and set it using the tagdiv Composer: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/

Thank you !

Vlad S
tagDiv Staff

Hello !

You can’t. TagDiv Composer works only with the blocks created by Newspaper theme. Those blocks cannot be edited with any other plugin.

Thank you !

Vlad S
tagDiv Staff

Hello !

In order to insert a shortcode using the tagDiv Composer you can use the Column Text element and insert the shortcode in it: https://www.screencast.com/t/StIKlkYQuoXi

Thank you !

Viewing 25 results - 27,326 through 27,350 (of 52,922 total)