worldtravelgeek
Forum Replies Created
-
Forum: Hacks
In reply to: Insert widgetized area into loop, independent of themeThanks for your answer!
For instance the post runs on every iteration of the loop, so this one might do the trick.
Can you elaborate please? I dont get it …
Forum: Plugins
In reply to: [Thumb Fixer for Social Media] Why the move to the top level menu?Hi mike,
ok, at least I understand the reasoning behind this move. Just think what would happen if every plugin and theme did that though. I understand that novices may ask redundant or even silly questions at time and most people are too lazy to read documentation or even try to look around for 1 minute or 2 to find a solution themselves. Maybe you find a better way to deal with this problem like just pasting a text block as a reply to a question like that. That should not take THAT much time. Or, move the plugin settings under Settings instead of General (cause honestly I didnt consider looking for them them there at first either) where most people will probably look for first (if they have installed at least A FEW plugins before)
Anyway, thanks for your answer and sorry for coming onto you so strong. I am glad you wrote that plugin btw! ??
Forum: Hacks
In reply to: Insert widgetized area into loop, independent of themeHi tormorten,
thanks a lot for helping out. It works … somehow ??
The most basic version works:
register_sidebar(array('name'=> 'WidgetAreaBeforePosts1', 'id' => 'WidgetAreaBeforePosts1', 'description' => esc_html__('WidgetArea that appears before 1st Post.') )); add_action('loop_start', 'include_WidgetAreaBeforePosts1'); function include_WidgetAreaBeforePosts1() { dynamic_sidebar( 'WidgetAreaBeforePosts1' ); }
It will show an area before the first post but not as part of the post grid but above the grid so it is not part of the styling of the grid and will cover all colums of the grid (in my case the post grid has 2 colums)
But anyway, at least it does show something.
However, when I get a bit more advanced and try to show the widget area before 2nd or 3rd post by changing code like this, it wont work anymore:
add_action('loop_start', 'include_WidgetAreaBeforePosts1'); function include_WidgetAreaBeforePosts1() { static $box_count = 0; if (++$box_count == 2) { dynamic_sidebar( 'WidgetAreaBeforePosts1' ); } }
Also, it does not work if I test for widgets in the widget areas:
add_action('loop_start', 'include_WidgetAreaBeforePosts1'); function include_WidgetAreaBeforePosts1() { if ( is_active_sidebar( 'WidgetAreaBeforePosts1' ) ) { static $box_count = 0; if (++$box_count == 2) { dynamic_sidebar( 'WidgetAreaBeforePosts1' ); } } }
Any ideas?
Forum: Plugins
In reply to: [Simple Image Sizes] Regenerate Thumbnails doesn't worksame here on 2 sites. it is definitely the last update
of course!
I would be happy with justified/masonry layout soon and the other one later ??Thanks for the super quick reply btw!
Forum: Plugins
In reply to: [Amazon Link] error message above search boxHey Paul,
thanks for the quick answer. Indeed that helped.
The funny thing is … I changed this a few weeks ago and everything was fine until yesterday lol
very weird ??
Thanks !!!!Forum: Plugins
In reply to: [Amazon Link] How to override country to TLD Mappingccool thanks !;)
Forum: Plugins
In reply to: [Amazon Link] Omakase/Selfoptimizing links widget -> Templatewill check this out once I have some more time
Forum: Plugins
In reply to: [Amazon Link] Simple SearchfieldI will test this soon, sorry for the delay
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver Builderthanks for the tip!
I didnt realize I could simply add functions as a new plugin.I think I will do that for all my changes in functions.php from now on.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver Builderah, it’s me who misunderstood actually; you want to be able to use Beaver builder yourself to add images, after which your visitors will see that image, but won’t be able to add images themselves? something like that?
excactly! ??
add_filter('autoptimize_filter_noptimize','beaver_noptimize',10,0); function beaver_noptimize() { if (strpos($_SERVER['REQUEST_URI'],'fl_builder')!==false) { return true; } else { return false; } }
Cool … I add this to a autoptimize_helper.php in the root folder of the plugin I assume ? ??
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver BuilderWhat exactly do you mean by “have media library included” ? Basically all my pages will have some sort of picture included from the media library. I think I am still not getting it ?? sorry ??
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver BuilderHey Frank,
if I exclude every page I build with beaver builder from optimization then whats the point of using autooptimize? I would basically deactivate it for the entire site? Or maybe I misunderstood … ??
I am still testing beaver builder in my localhost installation. So far I havent decided on using a page builder yet. It looks nice but these incompatabilities are not fun.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver BuilderI have to revert my statement that beaver builder works fine now. It does start up and some modules work but for instance when I add a picture module and then try to add a picture from the media libary, the media library will not open to let me select the picture to add. When I deactivate autoptimize, this problem disappears.
Any ideas?
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Beaver BuilderI had the same issue with beaver and autooptimize. The new version (zipfile above) seems to work just fine though ??