Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
tanteidee
tagDiv Member

Hi, Calin, no, I’m not using Cloud Templates but I insert Italian texts in Theme panel > Footer.

I try to translate them into English in String translation, for a moment it works, suddenly I find the English translation in both the Italian and English parts of the site, so I lose the Italian text. I can’t understand why.

tanteidee
tagDiv Member

Hi Anamaria,

sorry if I reply late. I took a look at the guides, but I would like you to go into the specifics of my problem:

1) I have a site in Italian as my main language and English thanks to the WPML plugin. I translated the strings [td_011]tds_footer_text and [td_011]tds_footer_copyright into English, it happens that unexpectedly these strings in Italian change taking the English translation but always having the Italy flag in the “String translation” panel. Why is this happening?

2) In the dashboard I always have the warning “WPML Plugin is active! When the plugin is active, the *.po – *.mo files are used instead of Theme Panel Translation.”, how do I remove it?

3) Why in the “String translation” panel I don’t see the entries to translate the Real Cookie Banner Plugin?

Thanks!

tanteidee
tagDiv Member

I fixed it, finally I decided not to use header and footer cloud templates. Thanks.

tanteidee
tagDiv Member

I fixed it, finally I decided not to use header and footer cloud templates. Thanks.

tanteidee
tagDiv Member

It works, thanks!

tanteidee
tagDiv Member

Hi, I haven’t actually sent any email, maybe some other user with the same request as me, so I’m happy to receive an answer too, thanks.

tanteidee
tagDiv Member

Solution found: echo the_field(“type”, $this->post->ID).

Thanks anyway Calin!

tanteidee
tagDiv Member

I’m sorry, “type” is the name of the field:

I meant something like this doesn’t work in loop:

echo the_field(‘type’, get_the_ID());

tanteidee
tagDiv Member

I need to work with Block 7 (td_module_6.php) in Home, take a look here https://ibb.co/0tXvC1whttps://ibb.co/Ln4QDVz

I need to print the_field(“type”) under date of the specific post, but it show no value because in Home, where the block is present type value is not present.

tanteidee
tagDiv Member

Obviously I open the line with the php echo code and close it, but the forum won’t let me post the code.

In a nutshell, the problem is that I can’t get the value referring to the article and not to the Home, because automatically the_field takes the ID value of the page where it is called, in my case the Home.

tanteidee
tagDiv Member

One more question:

I use Block 7 (td_module_6.php) in Home, I can’t print the contents of the “type” field

The code is as follows:
echo the_field(“type”)

tanteidee
tagDiv Member

Thanks Anamaria, but specifically I can delete without problems

tdc_dirty_content
_wpb_vc_js_status
?

To me they look like simple placeholders which are then regenerated if needed.

Another thing, tdc_content, seems to be the same content as _posts -> post_content, should it be left or can it be deleted? I have only 8 records.

Thanks again for the great support you give!

tanteidee
tagDiv Member

Like this example https://codepen.io/electerious/pen/JXNEPr (but slide of article).

tanteidee
tagDiv Member

Actually I would like to get a result similar to this https://demo.essentialplugin.com/prodemo/post-slider-pro/wp-recent-post-carousel/?layout=1-5&grid=4

I don’t think it’s possible with Slide or Flex Block 2, am I wrong?

tanteidee
tagDiv Member

Great!

tanteidee
tagDiv Member

I tried but to no avail, please check with the Template Gadget Pro and attach the file you edit (tdb_single_author.php).

Use the following code:

the_field('name');

tanteidee
tagDiv Member

Great, thanks!

tanteidee
tagDiv Member

Sorry Calin if I come back to the topic late, I’m really asking you for a courtesy,

the following code

$buffy .= the_field('name');

work in tdb_single_content.php but inserting it in tdb_single_author.php doesn’t work, I have to insert it in tdb_single_author.php so I can position it where I want.

If I put on tdb_single_author.php

$buffy .= the_field('name', 40);

Specifying the ID, it works, you understand that I can’t put a fixed ID because changing Post must change the value of the field.

The proof that I ask you to do, however, is with the Template Gadget Pro because I can think that with other templates, like the one used by you, it works.

I ask you to try and find a solution, for me it is important and I think it is important for everyone.

tanteidee
tagDiv Member

Thanks Calin! Sorry for the delay.

I am using the second version only where I need it, I have also applied the class to Posts Loop of the categories (applying the class to the Template), but I don’t see the same result that I get in Home where I have the simple Flex Block 1.

How can I also apply your CSS to the Posts Loop?

tanteidee
tagDiv Member

Calin, unfortunately, is a solution that does not suit my needs because then the phase shift comes with the title, when it is too short and remains on a line for example, and when it is long and is truncated on the fourth line.

You can play with something similar to

.td-module-meta-info {
height: 400px;
}

keeping author and READ MORE aligned at the bottom?

tanteidee
tagDiv Member

Thanks Calin for the support you give.

But it is also a bit strange in this case to say what the editable files are and then not to confirm the method to be used to implement ACF. At this point it is better to say that no, you can’t use ACF with Cloud Template, if that’s right.

Anyway, I use a Cloud Template and in Single Template I would like to insert an ACF shortcode, only that inserting it in Column text, in the editor, does not work. And I can’t even put the PHP code in the file single_modified_date.php.

Is there a solution?

tanteidee
tagDiv Member

I know that ACF is not your Plugin, but if you say that it is possible to insert it in those files of the screen https://i.imgur.com/gLoYC17.png, I would like to kindly understand how.

I’m trying to insert <?php echo the_field(‘author’, $this->post->ID);?> in tdb_single_modified_date.php but it doesn’t work.

Since ACF’s shortocode doesn’t work in Template Clouds, for example in Column text, I’m willing to sacrifice single_modified_date.php for it to show the author field I need.

tanteidee
tagDiv Member

Everything is clear except for tdc_content, why is it present in _postmeta when the same content is present in _posts, post_content field?

Is there any way to disable postview completely?

tanteidee
tagDiv Member

Yes, perfect, solved!

tanteidee
tagDiv Member

Calin, please, so we can close the topic, can you give me an explanation of:

tdc_history=?
tdc_content=?
_wpb_vc_js_status=?
_encloseme=?
tdc_dirty_content=?

in the _postmeta table?

Last thing, despite I have deactivated postview, I continue to see post_views_count records, how do I block this permanently?

Please let me know, thanks!

Viewing 25 posts - 1 through 25 (of 69 total)