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 :)
lazdim
tagDiv Member

Fixed by bringing on an old revision.
However, if I try to edit the page via tdComposer, I get the following error:
Errors at columns: 2(models) : 8(dom). The model does not match the content

  • This reply was modified 7 years by lazdim.
lazdim
tagDiv Member

Hi Calin,
Well, the irony in this issue is that I had seen and bookmarked the article you proposed me from wpbeginner.com!
How much stupid I am not seen the solution there?
I have an excuse: because the theme already has some custom fields, I thought it wouldn’t be possible to be so straight forward. Stupid, but true.

Anyway, your solution worked like a charm!

Thank you so much!

Since we arrived so far, will it be an exaggeration to ask how this will become a permalink to the corresponding post?

Thank you once again in advance!

lazdim
tagDiv Member

Hi Calin,
Thank you very much for the time you spent and the the information you provided.

I’m really sorry for this but, I already new that 🙂
Maybe my initial question made some misunderstanding, so let me show what I actually need.

I am using Block 77, provided by the td_plugin_API.
I am adding Block 77 in a page, this one

So, that page looks like this: https://www.screencast.com/t/AX4ugqr36t

Then, I open the module_77.php file and I make a veeeeeeery small addition to the code

<?php echo $this->get_excerpt();?>

so I can display the excerpt below the post’s title (category page level).

The result after adding the excerpt is this:https://www.screencast.com/t/QZHazjvlHKkS
Excerpt added bellow post’s title.

Now, as I did with excerpt, I need to display the value of a custom field, just like the one your showed me, but not IN THE POST.

Let’s say I create a custom field and I give it a value like this: https://www.screencast.com/t/av4rjj6z3
You can see that I have a custom field with key “personName” and its value is “Joe Doe”

What I need is to display the “personName” value after the excerpt in the category page where I use Block 77 like this:https://www.screencast.com/t/ceKlsV9sP

Can you please help me with that?

Thank so much in advance!

lazdim
tagDiv Member

Hi Calin,
Thank you for your recommendation but, unfortunately, it didn’t help me.

Maybe because your customer creates custom fields with ACF plugin.
In my case, I need to display the value of a simple custom field, without using any plugins.

I tried to add the following line


<?php $personName = get_field( 'personName',$this->post->ID); ?>

as seen in the post proposed me but the page breaks.

I would appreciate it if you could help me a little bit with this.

Thanks in advance.

  • This reply was modified 7 years by lazdim.
lazdim
tagDiv Member

Hi Simion
I have the latest theme’s version (9.6.1).
Problem remains.

I will try to take a closer look to my shortcode’s code and I will let you know.

lazdim
tagDiv Member

Hi Simion,
Thanks for the references.

The thing is that the shortcode works as it should but it conflicts with tagDivComposer.
When I remove it, tagDivComposer works fine. If I add it again, I get the “Errors at columns: 2(models) : 8(dom). The model does not match the content” error when I open the taDiv Composer.

I read your references and I can’t see something I did wrong. The shortcode is developed as it should.

I have the previous theme’s version. I will make the update and I will let you know if the problem remains.

  • This reply was modified 7 years by lazdim.
lazdim
tagDiv Member

Hi Simion,
Thanks for the feedback.

Changing the shortcode to the following:

add_shortcode( 'foobar', 'foobart_func' );
function foobar_func($atts) {
ob_start();
echo "Testing the shortcode!!!";

$var = ob_get_contents();
ob_end_clean();
return $var;
}

seems to solve the problem.

That means there is some thing wrong with my real shortcode.
The thing is that the real (original) shortcode shows and functions perfectly on the home page and, if open functions.php via theme editor and make a small change, like an
extra space, it saves the file without errors.

Would you like to send you the admin creds at your email to give it a glance?

Thank you in advance.

  • This reply was modified 7 years by lazdim.
lazdim
tagDiv Member

This is the answer I was looking for!
Thanks, Catalin!

lazdim
tagDiv Member

Hi Catalin,
I apologize for that but I have to ask. Did you even read the whole question?

lazdim
tagDiv Member

Hi Catalin,
I have installed the td_api_plugin and I have already used Block 77, although it doesn’t show up in TDComposer.
OK, let’s say I want to create another block: Block 88.
When I go to the API tutorial, it says: “First create a folder and name it for example “td-api-plugin””
Where exactly should I do that? There is already a folder “td-api-plugin” which is part of Block 77.
What about my new Block 88? Where should I create the folder and the files needed?
should I open the same .php file and add td_api_block::add(‘td_block_88 etc?
Can you, please, be more specific?

Thank you in advance.

lazdim
tagDiv Member

OK, Calin.
Thank you very much.
I will let you know.

lazdim
tagDiv Member

Dear Calin,
As I previously stated, we are going to delete the old theme. The process will be:
1. Deleted the theme from the production site
2. Export the theme’s setting from the beta website which has already installed the latest version
3. Install the theme’s latest version to the production site
4. Import the settings from the beta site to the production site

My question is simple: will this work?

lazdim
tagDiv Member

Hi Calin,
Thank you for your immediate feedback.

Is there any documentation on how to create a shortcode? A video tutorial, maybe?

Thank you in advance.

lazdim
tagDiv Member

Hi Calink,
Thank you for your informative response.

We are going to DELETE the previous theme version and INSTALL the most recent one.
Then, we will import the settings from the beta version of our website (which is 9.5) to the production website.

Is this a safe way to transfer our settings?

lazdim
tagDiv Member

Just another question:
We have seen some pre-designed template in tagDiv Cloud Library that we would like to install.
Will be any problem if we use the same purchase key that we use in our production website?

lazdim
tagDiv Member

Hi Calin,
Actually, this not my question.
I am not concerned about how the team member’s page will look like.
My question is how make the team members’ image and job description linkable.
When I add a team members section in my page, none of them are clickable.

Is there a solution for that?

Thank you in advance.

lazdim
tagDiv Member

No custom CSS.

lazdim
tagDiv Member

Regarding your reply yo billys’ post… Well, this a solution but not THE solution since, every time I will upgrade the theme, I may have to make all these changes again which is time consuming and a bad practice in general…

  • This reply was modified 7 years by lazdim.
lazdim
tagDiv Member

Hi Calin,
Thank you for your help.
I will try your recommendations and come back with the results.

lazdim
tagDiv Member

Hi Simion,
Thank you for your informative reply and your help.

Yes, indeed, I made the changes in the main style.css and the problem solved.

lazdim
tagDiv Member

Hi Simion,
I confirm that our website is perfect in Firefox 59.0.3
No, I did nothing to fix it and this is the strange part. I just woke up in the morning, opened the website and everything was fine.
My Firefox version is still 59.0.3
However, I have video cast which shows the problem we faced yesterday.
I don’t know what to say… Bad karma, maybe?

In any case, as a developer, I have to update the theme to the latest version.
I have made many customizations in WordPress “Add Custom CSS”.
However, when I updated the theme and pasted my CSS, the layout seems to recognize my CSS on same parts and ignores it to other.
I investigated further the case and I saw that you have change or added CSS classes.
So, my Custom CSS, even if it is pasted as it was, doesn’t work and I have to make the changes again.
This is a little bit frustrating since every time I will update the theme I would have to make many modifications to my CSS. And we are talking about 5000 lines of custom CSS… So, do you have any idea what should I do with this issue?

Thanks in advance.

lazdim
tagDiv Member

P.S. It seems that the problem relies mainly on images. They don’t show up or they show up distorted.

lazdim
tagDiv Member

Hi Simion,
Unfortunately, no luck.
Even the clone doesn’t seem to work on Firefox.
I also disabled all plugins except Tagdiv Composer and Tagdiv Social Counter. No luck…

Even if the problem is the late theme version, I can’t accept that I can’t even log in via wp-admin in Firefox and, even if I do, the layout is a mess in admin area too.

Would you like to send you the credentials to have a look, please? Please????????

lazdim
tagDiv Member

Hi Simion,
Thank you for your immediate reply.

Indeed, I see what do you mean but these images were always a “problem” meaning that they come from non-HTTPS sources. However, we never faced any kind of problem.
Last night, the website was absolutely perfect. Not a problem at all.
And today… This happens…
Also, the layout is broken in wp-admin area.

In any case, I am restoring the clone to a previous version. If the problem insists, I am going to disable all plugins and see what I can find.

  • This reply was modified 8 years by lazdim.
  • This reply was modified 8 years by lazdim.
lazdim
tagDiv Member

Hi Simion,

I created a new empty page and the composer worked fine. So, there should a be something in the home page making the trouble.
I deleted a shortcode of a widget I had and the composer works fine now.

  • This reply was modified 8 years by lazdim.
  • This reply was modified 8 years by lazdim.
Viewing 25 posts - 1 through 25 (of 47 total)