Forum Replies Created
-
AuthorPosts
-
Door #2 worked. Perfect! Thank you.
-
This reply was modified 5 years, 10 months ago by
welswebmaster. Reason: Fixed
April 29, 2019 at 2:01 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1095269Good morning Günter,
This last permanent fix did the trick. We’re all set now on our production site. Thank you! That was a long ride, but I’m thankful that you stuck with me to the end.
Have a great week!
jApril 26, 2019 at 12:51 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094713Günter,
Beautiful!
I will need to repeat what you have done on the production site now. Can you provide me the proper steps?
Thank you so much for staying with me on this. I truly appreciate you.
jApril 25, 2019 at 9:57 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094550This reply has been marked as private.April 25, 2019 at 2:32 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094418This reply has been marked as private.April 25, 2019 at 2:14 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094405Günter,
I tried as you suggested (still in place) and it returns a blank result for the GraphQL query.
The site doesn’t come up either now. Instead it gives this error:
Fatal error: Cannot use $this as parameter in /nas/content/staging/wels/wp-content/themes/enfold-child/functions.php on line 6Shouldn’t that statement start with an “add filter” type line? Only guessing, I’m not on your level.
April 24, 2019 at 4:50 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094062Günter,
I tried your suggestion on our staging server to replace with if( false) and it worked well.
jApril 24, 2019 at 3:04 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1094000Günter,
I updated and placed the code you provided in Enfold Child functions.php with bad results where the graphql query returned NO results. Next, I tried adding it instead in the parent fuctions.php with same poor result. I restored my site back.
When just updating Enfold – the graphql query returns all but the main content body. Could you look again at the code you provided to be sure that is what we need?
Thanks,
jApril 23, 2019 at 2:10 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1093667Günter,
Hello. I’m ready to apply the 4.5.6 Enfold update. However, I’m confused as to what you said “After the next update make sure that filter avf_shortcode_no_header_request is included in enfold\config-templatebuilder\avia-template-builder\php\shortcode-template.class.php – then you need not do any further steps.”Can you clarify that for me? What steps must I take?
In kindness,
jApril 2, 2019 at 2:07 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1086076Bingo! That worked Günter. Thank you. Is this something you will provide in the next Enfold update or is should I place a copy of the file in my Enfold child theme?
I appreciate all of your efforts, Günter.
April 1, 2019 at 6:01 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1085596Gunter,
Hope you are feeling better! Thanks for the quick fix. That did the trick. Now for a long term solution. Perhaps this is what may help. If I’m not giving you the info you need, the next step would be to contact the GraphQL plugin author here:
Plugin: https://github.com/dfmedia/wp-graphql
Authors: https://github.com/orgs/dfmedia/people
INFO I CAN PROVIDE TO YOU
Code to define content types for GraphQL:/** * function to define content types for GraphQL for use on wels.app mobile app. One for each post type. */ add_filter( 'register_post_type_args', function( $args, $post_type ) { if ( 'bible3' === $post_type ) { $args['show_in_graphql'] = true; $args['graphql_single_name'] = 'Bible3'; $args['graphql_plural_name'] = 'Bible3s'; } return $args; }, 10, 2 );
https://docs.wpgraphql.com/getting-started/custom-fields-and-meta
The feed we are using is: https://wels.net/category/bible3/feed/
The query looks like this:
{ Bible3s(first: 1) { edges { node { title Bible3Id dateGmt content link excerpt featuredImage { guid } } } } }
March 29, 2019 at 3:35 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1084602This reply has been marked as private.March 28, 2019 at 3:11 am in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1083877Günter
Wels.app still unable to load ALB main body content. Example is Through My Bible.
Bothe web version and mobile behave the same. I’ve de/re-activated the wp graphql plugin and emptied server cache and still the same.
Something still isn’t right. Please helpIt is the same as before. The GraphQL query returns the \n\n\n\n\n\n\n\n
See query and output here: https://wels.net/wp-content/uploads/2019/03/graphqlOutput.jpgThis displays
<h6 style="color: #339900; text-transform: uppercase;" align="center"><img style="padding-bottom: 10px;" src="https://wels.net/wp-content/uploads/2014/04/Audio-Icon.png" alt="" width="48" /><br /> Through My Bible – March 28</h6> <p>Bible reading based on Matthew 19:1-22 (NIV84)<br />
This doesn’t display
<!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]--> <audio class="wp-audio-shortcode" id="audio-9632-1" preload="none" style="width: 100%;" controls="controls"><source type="audio/mpeg" src="https://wels2.blob.core.windows.net/through-my-bible/02-0328db.mp3?_=1" /><a href="https://wels2.blob.core.windows.net/through-my-bible/02-0328db.mp3">https://wels2.blob.core.windows.net/through-my-bible/02-0328db.mp3</a></audio><br /> <em>See series:</em> <a href="http://www.wels.net/serving-you/bible/">Through My Bible</a></p> </div> <h4>Matthew 19</h4> <h5>Divorce</h5> <p><sup id="en-NIV-23762">1</sup>When Jesus had finished saying these things, he left Galilee and went into the region of Judea to the other side of the Jordan. <sup id="en-NIV-23763">2</sup>Large crowds followed him, and he healed them there.</p> <p><sup id="en-NIV-23764">3</sup>Some Pharisees came to him to test him. They asked, “Is it lawful for a man to divorce his wife for any and every reason?”</p> <p><sup id="en-NIV-23765">4</sup>“Haven’t you read,” he replied, “that at the beginning the Creator ‘made them male and female,’<sup>[<a title="See footnote a" href="#fen-NIV-23765a">a</a>]</sup> <sup id="en-NIV-23766">5</sup>and said, ‘For this reason a man will leave his father and mother and be united to his wife, and the two will become one flesh’<sup>[<a title="See footnote b" href="#fen-NIV-23766b">b</a>]</sup>? <sup id="en-NIV-23767">6</sup>So they are no longer two, but one. Therefore what God has joined together, let man not separate.”</p> <p><sup id="en-NIV-23768">7</sup>“Why then,” they asked, “did Moses command that a man give his wife a certificate of divorce and send her away?”</p> <p><sup id="en-NIV-23769">8</sup>Jesus replied, “Moses permitted you to divorce your wives because your hearts were hard. But it was not this way from the beginning. <sup id="en-NIV-23770">9</sup>I tell you that anyone who divorces his wife, except for marital unfaithfulness, and marries another woman commits adultery.”</p> <p><sup id="en-NIV-23771">10</sup>The disciples said to him, “If this is the situation between a husband and wife, it is better not to marry.”</p> <p><sup id="en-NIV-23772">11</sup>Jesus replied, “Not everyone can accept this word, but only those to whom it has been given. <sup id="en-NIV-23773">12</sup>For some are eunuchs because they were born that way; others were made that way by men; and others have renounced marriage<sup>[<a title="See footnote c" href="#fen-NIV-23773c">c</a>]</sup>because of the kingdom of heaven. The one who can accept this should accept it.”</p> <h5>The Little Children and Jesus</h5> <p><sup id="en-NIV-23774">13</sup>Then little children were brought to Jesus for him to place his hands on them and pray for them. But the disciples rebuked those who brought them.</p> <p><sup id="en-NIV-23775">14</sup>Jesus said, “Let the little children come to me, and do not hinder them, for the kingdom of heaven belongs to such as these.” <sup id="en-NIV-23776">15</sup>When he had placed his hands on them, he went on from there.</p> <h5>The Rich Young Man</h5> <p><sup id="en-NIV-23777">16</sup>Now a man came up to Jesus and asked, “Teacher, what good thing must I do to get eternal life?”</p> <p><sup id="en-NIV-23778">17</sup>“Why do you ask me about what is good?” Jesus replied. “There is only One who is good. If you want to enter life, obey the commandments.”</p> <p><sup id="en-NIV-23779">18</sup>“Which ones?” the man inquired.</p> <p>Jesus replied, ” ‘Do not murder, do not commit adultery, do not steal, do not give false testimony, <sup id="en-NIV-23780">19</sup>honor your father and mother,’<sup>[<a title="See footnote d" href="#fen-NIV-23780d">d</a>]</sup> and ‘love your neighbor as yourself.’<sup>[<a title="See footnote e" href="#fen-NIV-23780e">e</a>]</sup>”</p> <p><sup id="en-NIV-23781">20</sup>“All these I have kept,” the young man said. “What do I still lack?”</p> <p><sup id="en-NIV-23782">21</sup>Jesus answered, “If you want to be perfect, go, sell your possessions and give to the poor, and you will have treasure in heaven. Then come, follow me.”</p> <p><sup id="en-NIV-23783">22</sup>When the young man heard this, he went away sad, because he had great wealth.</p> </div></section> <div style='height:10px' class='hr hr-invisible '><span class='hr-inner ' ><span class='hr-inner-style'></span></span></div> <section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork" ><div class='avia_textblock ' itemprop="text" ><p><strong>Footnotes:</strong></p> <ol type="a"> <li id="fen-NIV-23765a"><a title="Go to Matthew 19:4" href="#en-NIV-23765">Matthew 19:4</a> Gen. 1:27</li> <li id="fen-NIV-23766b"><a title="Go to Matthew 19:5" href="#en-NIV-23766">Matthew 19:5</a> Gen. 2:24</li> <li id="fen-NIV-23773c"><a title="Go to Matthew 19:12" href="#en-NIV-23773">Matthew 19:12</a> Or have made themselves eunuchs</li> <li id="fen-NIV-23780d"><a title="Go to Matthew 19:19" href="#en-NIV-23780">Matthew 19:19</a> Exodus 20:1216; Deut. 5:16-20</li> <li id="fen-NIV-23780e"><a title="Go to Matthew 19:19" href="#en-NIV-23780">Matthew 19:19</a> Lev. 19:18</li> </ol> </div></section> <div class='hr hr-default '><span class='hr-inner ' ><span class='hr-inner-style'></span></span></div> <section class="av_textblock_section " itemscope="itemscope" itemtype="https://schema.org/CreativeWork" ><div class='avia_textblock ' itemprop="text" ><p><em>Scripture taken from the HOLY BIBLE, NEW INTERNATIONAL VERSION®. NIV®. Copyright©1973, 1978, 1984 by International Bible Society. Used by permission of Zondervan. All rights reserved.</em></p> </div></section> <div style='height:50px' class='hr hr-invisible '><span class='hr-inner ' ><span class='hr-inner-style'></span></span></div> <div class='av-social-sharing-box '><div class='av-share-box'><h5 class='av-share-link-description av-no-toc'>Share this entry</h5><ul class='av-share-box-list noLightbox'><li class='av-share-link av-social-link-facebook' ><a target='_blank' href='https://www.facebook.com/sharer.php?u=https://wels.net/bible3/02-0328db/&t=Through%20My%20Bible%20Yr%202%20%E2%80%93%20March%2028' aria-hidden='true' data-av_icon='' data-av_iconfont='entypo-fontello' title='' data-avia-related-tooltip='Share on Facebook'><span class='avia_hidden_link_text'>Share on Facebook</span></a></li><li class='av-share-link av-social-link-twitter' ><a target='_blank' href='https://twitter.com/share?text=Through%20My%20Bible%20Yr%202%20%E2%80%93%20March%2028&url=https://wels.net/?p=9632' aria-hidden='true' data-av_icon='' data-av_iconfont='entypo-fontello' title='' data-avia-related-tooltip='Share on Twitter'><span class='avia_hidden_link_text'>Share on Twitter</span></a></li><li class='av-share-link av-social-link-gplus' ><a target='_blank' href='https://plus.google.com/share?url=https://wels.net/bible3/02-0328db/' aria-hidden='true' data-av_icon='' data-av_iconfont='entypo-fontello' title='' data-avia-related-tooltip='Share on Google+'><span class='avia_hidden_link_text'>Share on Google+</span></a></li><li class='av-share-link av-social-link-mail' ><a href='mailto:?subject=Through%20My%20Bible%20Yr%202%20%E2%80%93%20March%2028&body=https://wels.net/bible3/02-0328db/' aria-hidden='true' data-av_icon='' data-av_iconfont='entypo-fontello' title='' data-avia-related-tooltip='Share by Mail'><span class='avia_hidden_link_text'>Share by Mail</span></a></li></ul></div></div> ]]></content:encoded> </item> </channel> </rss>
-
This reply was modified 6 years ago by
welswebmaster.
March 27, 2019 at 6:34 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1083751Hey Gunter,
So far so good! Hooray! I can see main body content in the feed which is great!Now I’m just waiting on the mobile app developer to refresh his code to be sure it works there as well. Then I’ll close out this ticket.
I replaced your code in the Enfold folder, but am wondering if it should reside in the Enfold Child folder instead. What do you think? Or, will this be pushed out in the next Enfold version update?
Thanks for your efforts.
March 27, 2019 at 2:38 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1083627This reply has been marked as private.March 25, 2019 at 5:40 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1082774This reply has been marked as private.Yes Mike.
But… related tickets are still open because the conflict remains for the REST APIOriginal January ticket
https://kriesi.at/support/topic/rss-missing-content-after-title-if-using-alb-in-a-post/Follow up Conflict Ticket
March 20, 2019 at 4:14 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1080889This reply has been marked as private.The 4.5.5 update worked to successfully display an ALB shortcode in a third party wysiwyg and render perfectly on the frontend. Thanks for your work!
This reply has been marked as private.March 15, 2019 at 11:39 am in reply to: Video ALB shortcode for Vimeo displays preview only #1079076Yes, let’s wait on the update Günter described. Should issues still arise, I’ll reference these two tickets. Thanks for the follow-up Mike.
This reply has been marked as private.This reply has been marked as private.March 9, 2019 at 8:14 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1076819Yes. I have 3 open ALB shortcode issues where all were working prior to the last Enfold update and now across several web sites I have an issue where custom post types no longer render Enfold ALB shortcode.
Ref; https://kriesi.at/support/topic/video-alb-shortcode-for-vimeo-displays-preview-only/March 7, 2019 at 10:47 pm in reply to: 2 SOLUTIONS CONFLICT – Last ALB fix omitted previous code fix you gave #1076123Adding MORE to this. Same issue with other content types (WP Download Manager posts do not recognize ALB shortcodes).
March 4, 2019 at 12:13 am in reply to: Avia layout builder not working in The Events Calendar #1074087Hi Mike. All looks good! If you would please clean up left overs (enfold-old) since you know what was touched. Let me know when you are done and I’ll clean up accounts. Thanks for the solution! Try to enjoy whats left of the weekend.
jMarch 3, 2019 at 9:23 pm in reply to: Avia layout builder not working in The Events Calendar #1074038This reply has been marked as private.February 28, 2019 at 9:00 pm in reply to: Avia layout builder not working in The Events Calendar #1072745Any progress to report?
RE: #Victoria said on February 20, 2019 at 12:37 pm #1069424Thank you for that. I see the button appearing in the preview but not on the event itself. I’ll ask my colleagues to have a look.
February 19, 2019 at 8:44 pm in reply to: Avia layout builder not working in The Events Calendar #1069080Victoria, See private.
February 18, 2019 at 5:58 pm in reply to: Avia layout builder not working in The Events Calendar #1068499Hi Victoria – Credentials in private.
-
This reply was modified 5 years, 10 months ago by
-
AuthorPosts