wordmax
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Blocksy] Disappearing sidebar widget content. Anyone else?Hi @cteduard might want to take another look at this issue. Thanks
Forum: Themes and Templates
In reply to: [Blocksy] Disappearing sidebar widget content. Anyone else?Hi @corralesl no unfortunately I had no luck finding the reason that sidebar was randomly disappearing. Unacceptable, so I ended up turning off the side-bar in the theme because it was frustrating. Did you have similar experience after trying the reusable blocks extended plugin? Or was your disappearing sidebar/footer unrelated to it?
https://wordpress.org/plugins/reusable-blocks-extended/
- This reply was modified 2 years, 2 months ago by wordmax.
Yes, thanks for your explanation. Issue is resolved. Will be using custom CSSi as needed in future until @wordpress can resolve this issue.
- This reply was modified 2 years, 3 months ago by wordmax.
Forum: Plugins
In reply to: [Reusable Blocks Extended] Conflict with Ad Inserter plugin on sidebar widgetHi @ryantown thanks let us know if you decide to share the plugin with the wp community. Appreciate the help.
Forum: Plugins
In reply to: [Reusable Blocks Extended] Conflict with Ad Inserter plugin on sidebar widgetHi @ryantown thanks for the heads up. Will give it a try. You think we could use code snippets plugin to run the code so it wouldn’t be over-written with plugin update? Hopefully the plugin dev will see this topic and fix it on future plugin update.
I don’t know the exact amount of time after cache is cleared before problem occurs again, but yes that is more or less what is happening.
Can you please directly answer our question.
“How do completely ignore data from another plugin?”
Is this possible? If so, how. Thanks
Aha. I see, thanks. Weird, this is first time this has happened and I haven’t changed the site background color for years. It always just worked right.
As always, your fast help is greatly appreciated! Two thumbs up for the support on this plugin.
Forum: Themes and Templates
In reply to: [Blocksy] Disappearing sidebar widget content. Anyone else?No plugins changed. No other access to site. The only thing I can think of is that I tried out the plugin Reusable Blocks Extended to test it out and later deleted it. I suppose it’ possible it corrupted some code. Other than that nothing changed other than updates to the theme & plugins which never presented this issue before. Thanks. p.s. link to that plugin below…
Forum: Themes and Templates
In reply to: [Blocksy] Want to change search page contentHi John @allonlinetools : one way you can customize the search results page is to use the Ad Inserter plugin and insert desired code as needed. It’s a very handy plugin to customize pages, posts, archives, taxonomy, category dynamically on the fly.
Great! I tried out the beta and it looks like all of the AAL options/settings in the WP admin menu are working with no problems.
Thanks for your fast assistance. Much appreciated!
Max
Hi Eduard:
The plugin dev for Ajax Search Lite helped us out and suggested code we can use in the Snippets wordpress plugin to customize the text in the title for the search results page.
add_filter( 'gettext', 'my_custom_gettext', 10, 2 ); function my_custom_gettext( $translation, $text ) { if ( $translation == 'Search Results for %1$s' ) { return 'You searched for %1$s'; } return $translation; }If I need to customize more default language phrases I’ll use the Loco Translate plugin as you suggested.
Thanks!
Wow… Awesome! That works great.
Really appreciate your help.
Thank you!
I reported it to their plugin support. They said ticket was created to address the issue. Here is the support thread:
https://wordpress.org/support/topic/conflict-with-other-plugin-auto-amazon-links/
github link:
https://github.com/publishpress/PublishPress-Future/issues/646
Thanks!
Looks like there are multiple files in the Blocksy theme that contain the phrase “Search Results for %1$s” so I tried manually changing those on various pages, including the /languages/blocksy.pot file with no effect on the front-end search results page title.
Finally, it worked by editing the elements.php file. I tried changing the phrase “Search Results” to “You searched” in the php file named elements.php and it worked. It was the only file needed to change in order to customize the search page title text.
…/wp-content/themes/blocksy/inc/components/hero/elements.php
Of course these changes will be overwritten since I don’t have a child theme but it’s easy to change back again.
Not sure what you meant by line 4 on the code regarding correct string to use.
Appreciate your help and suggestions. Thanks
After trying multiple files in theme that contain the phrase “Search Results” we found the one that works.
…/wp-content/themes/blocksy/inc/components/hero/elements.php
line 196 and line 326
Simply changing the phrase as needed works so we can have the search results page title with our desired custom text.