Gabums
Forum Replies Created
-
Never mind, figured it out. I had my staging site password protected. Once I removed that feature, the errors had gone away.
Hi there!
The feed code is
[feedzy-rss feeds="https://events.ibx.com/events/category/wellness/feed/" max="5" feed_title="no" refresh="1_hours" target="_blank" meta="date, time, tz=local" summary="yes" ]
The website I’m linking to is https://innovation.ibx.com/events-feed/
Thank you!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Fatal Error/Parse error – Line 120It worked, Huzzah! You’re fantastic! Thanks so much for your help ??
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Fatal Error/Parse error – Line 120Hmm… still didn’t work and got the error back on line 120 again…
Parse error: syntax error, unexpected T_STRING in /home1/ibxwalkt/public_html/h360/wp-content/plugins/relevanssi/lib/indexing.php on line 120
So strange!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Fatal Error/Parse error – Line 120Thanks for getting back to me so quickly!
I replaced the indexing file with the one you provided and now I get this error:
Parse error: syntax error, unexpected T_STRING in /home1/ibxwalkt/public_html/h360/wp-content/plugins/relevanssi/lib/indexing.php on line 122I have two sites with your plugin, a live one and a test one. The test one that is getting all these errors is running PHP version 5.4.24. The live one wouldn’t let me update the plugin in the first place (another error) so I stopped there for fear of breaking a live site. The live site is running PHP 5.10.1.
Thanks again!
Forum: Plugins
In reply to: [Explanatory Dictionary] exclude tooltips from optionYes, that worked! Thank you!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] adding custom fields and excerpts to resultsIt returns “NULL”.
I found some code that would show the error if there was none… there wasn’t any. I’m not familiar with JSON at all either. Things I read said there might be something with encoding of the page, but I’m not sure how to debug. We might have hit a deadend…
Forum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesSo i got it working! The way you did it didn’t quite work for me but I was able to utilize some of your code and place it elsewhere. Incase anyone else is trying to do this too, here it is:
The way my theme template was calling the text was by using
echo do_shortcode ( $options['stb_content'] );
I then took that code and added
echo do_shortcode($dictionary->add_explanatory_dictionary_words ( $options['stb_content'] ));
Making sure I placed
$dictionary = Explanatory_Dictionary::get_instance();
Beforehand.
Hope that helps someone.
Thank you @cedric for your help as well!
Forum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate filesNo worries @cedric! Thanks for your response. ??
So just to be sure I am understanding you correctly. All I need to do is make a copy of “mytemplate.php” and rename it “tobetranslated.php”. Then I take all the content in “mytemplate.php” and replace it with the code you provided? (with correct paths of course)
Thanks again!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] adding custom fields and excerpts to results::sigh:: This is frustrating. When I tried var_dump($zn_meta_elements) I get “NULL NULL NULL…” Which is strange because I know that it is an array (look at the first code I posted). I found other ways to find the path and got this
s:17:"content_main_area"; a:4: { i:0; a:6:{ s:20:"dynamic_element_type"; s:9:"_text_box"; s:7:"pb_area"; s:17:"content_main_area"; s:6:"_sizer"; s:10:"two-thirds"; s:9:"stb_title"; s:15:"Paying for Care"; s:11:"stb_content"; s:1875:" $mydata = '
It looks like $zn_meta_elements is the field name, but then it’s telling me that the arrays are strings… not field names? And $zn_meta_elements may be a string too since when I use ‘$’ it doesn’t work? Oye – this is so confusing.
Forum: Hacks
In reply to: custom fields and stringsHi!
Thank you for your suggestion. Unfortunately it still returns the same thing
$custom_field = get_post_meta(get_the_ID(), $zn_meta_elements['content_main_area']['stb_content'], true);
I’ve also used other variations of get_the_ID() and tried with different field name and string combinations.
Forum: Plugins
In reply to: [Explanatory Dictionary] Detect word in themplate files@cedric.charles!
Do you have a minute to explain what you did yet please???
Forum: Plugins
In reply to: [Relevanssi - A Better Search] adding custom fields and excerpts to resultsNah, tried that. I just get a series of “array array array etc”. But if that is how it is written out, I’ll keep trying variations. Thank you!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] adding custom fields and excerpts to resultsOk, I’m getting a little closer and I must say you’ve been so helpful and patient. So thanks again!
I finally figured out a way to find the path of the elements I want, but I’ve searched all day and cannot figure out the proper syntax to use. Could you just point me in the right direction?
zn_meta_elements => content_main_area => stb_content
Thank you!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] adding custom fields and excerpts to resultsHmmm… I figured that was gonna be your reply. I’ve tried so many different elements hoping that would work but they all just say “array” when I add them. I just can’t seem to find the right one to use. I’ve even tried finding code that could break down Zn_meta_elements for me to show me what to use, but I haven’t found one that works quite right yet. I’m at a loss…