decay
Forum Replies Created
-
I’m coming up on this error with the plugin as well. WordPress and the plugin are updated to current versions. The site and code are not originally mine, so I am learning about where they are firing events from.
This site is not using the facebook interface to create events. Would migrating the events to this interface possibly fix this error?Thanks in advance
Edit: I was wrong about the events on site. I just didn’t have access to the events through the interface. I’m still curious about what change to make in order to remove this error.
- This reply was modified 4 years ago by decay.
Forum: Plugins
In reply to: [Search Exclude] Removal of search exclude from www.ads-software.comThanks for getting this sorted. I can build again!
Forum: Plugins
In reply to: [Search Exclude] Removal of search exclude from www.ads-software.comfollowing
Forum: Plugins
In reply to: [Yoast SEO] Echoing the Yoast Primary Category in Yoast SEO via PHPHere it is:
$cat = new WPSEO_Primary_Term('category', get_the_ID()); $cat = $cat->get_primary_term();
Forum: Plugins
In reply to: [Yoast SEO] Echoing the Yoast Primary Category in Yoast SEO via PHPI’m working on this myself. I’d love to hear if someone has accomplished this. I’ll return if I figure it out on my own.
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Shortcodes in table/tdI’m back! Sorry for my delay.
In the interest of full disclosure you should know that we are using “Shortcode exec php”
(I discovered this and it cleared up my problem quite a bit)
When I created a shortcode with:
return "Here is the new shortcode content";
I got the expected result.
When I used :
‘return “<i class=\”fa fa-times\”>-</i>”;`
I had this error:
Warning: Invalid argument supplied for foreach() in /srv/bindings/bacb3e3fda39463f9ad5632741cf2459/code/wp-content/themes/sahifa-child/template-article-1.php on line 345
I know that this is because it is receiving the wrong information, ie:
An issue could be, that the returning content of the shortcode contains special characters, which breaks the JSON format of the table data. A solution is to encode the content into JSON format and removing the surrounding quotes of the JSON string.
Which you had pointed out. So I have removed the “\” out of my return and everything works great.
Thank you for your help in this. I know it was a pretty simple issue, but you provided me everything I needed to get it figured out in a short time frame. This is such a great addition to ACF and it is used on every page that I create. (We use tons of tables…)
Thanks again and I hope this helps someone in the future.
Cheers!
Forum: Plugins
In reply to: [WordPress Menu Exporter] Worth updating?I’m just discovering this plugin, which doesn’t work for my WP version 4.5.2 I receive a 502 error on export. I’d love to see an update.
Julka,
Thank you for your quick reply! I’m going to get my backend specialist involved in this. He would be more knowledgable of these specifics than I. I’ll report back when I know more.
Until then,
-dK
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Shortcodes in table/tdJohann, and anyone that may be watching this…
I have been distracted by some other needs with my page, so I have not been able to get back to this issue. I will look at this as again, as soon as I can. Thanks for the additional info.
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Shortcodes in table/tdSo I have tested this in a few different ways and I cannot get the table to show after I enable shortcodes in functions.php and add the [shortcode] to the table cell. All of my other fields show the expected shortcode content, it is only the table fields that break. To be more specific: The entire table disappears after enabling shortcodes.
I thought that this may be caused by the structure of my custom fields. I have a flexible content field that is containing my table as well as all my other elements. I tried creating a table that is completely independent of all other elements and I have the same issue.
I am back at square 1 on this and cannot figure out why the table breaks with shortcodes. Any one else have this problem?
edit: I updated my ACF Pro to version 5.3.7 and my table fields plugin is current. WP version is only 4.3 Everything is working fine except for this shortcode/table issue that I am up against. I will not be updating my WP version tonight as it requires some help from my guys on the back end (this WP install is messy and was inherited from previous developers) but I will report back tomorrow if this fixes it.
Do you think this may be the issue Johann? Would you suggest I go to WP version 4.4 or the new 4.5 just released?
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Shortcodes in table/tdSo I’m realizing that the function I was using previously is the same as what you have shown here. It still isn’t working, but it should be. I am going to test this on other tables I have built and see if I can get it to work there. It may have something to do with the table itself.
I’ll report back. I’m sure this will be helpful to someone down the road, as your support forum has been for me ??
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Shortcodes in table/tdI have ACF 5 Pro. I will be testing this when I get in the office and will report back. Thanks for getting back with me!
Forum: Plugins
In reply to: [Global CSS by Joddit] Trying to use this plugin for the first timeI guess this is a no…
For anyone wondering, this is a legitimate Custom CSS plugin: