peek
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate X] Prevent pre-path changes on link URLs@rjedrosa
thanks for the script.
i would suggest using “do-translate” as an attribute if you want to translate.
“no-convert” really confused me, it kind of translates to “no-translate” in my brain ??Forum: Plugins
In reply to: [qTranslate X] Prevent pre-path changes on link URLsthanks, please keep me posted.
Forum: Plugins
In reply to: [qTranslate X] Prevent pre-path changes on link URLsI am also trying to achieve something like this.
I thought I could solve this by adding?setlang=no
to the menu links , that I don’t want to be translated.
(See How can I prevent URL of a custom menu item from being converted)But it is not working for me at all.
I even get URLs like https://localhost/impressum/?setlang=no&lang=enI disabled all plugins and switched to standard wordpress themes (twentyfourteen, twentyfifteen), but it still doesn’t work.
But as Gunu says it is not designed for that, I might have to find a different plugin.
Forum: Plugins
In reply to: [Multiple Post Thumbnails] WordPress 4.1yes, please!
Forum: Plugins
In reply to: [WP-Nicescroll] how to styleokay, that was a bad example.
you can style these things in settings -> wp nicescrollhowever, there are much more things to customize which are not available in these settings. would be good to know how this works.
then each sidebar shows the same testimonials…
oh sh*t, no it doesn’t.
i guess i had random luck….see here: https://aq295.w4yserver.at/wp/presse/
i’m invoking the testimonials in an sidebar php file which gets included multiple times
the code:
<?php $args = array( 'unique' =>'true', 'limit' => 1, 'no_cache' => 'true', 'hide_title' => 'true' ); ?> <div id="presse-<?php echo $c ?>" class="sidebar-teaser sidebar-presse fourcol left last clearfix sidebar-<?php echo $extra_class ?>" role="complementary"> <ul> <hr> <?php echo testimonialswidget_widget($args); ?> <hr> <?php echo testimonialswidget_widget($args); ?> <hr> <?php echo testimonialswidget_widget($args); ?> </ul> </div>
works great now, thanks!
will do, thanks!
thanks for your reply!
testimonial widget indeed works fine for the first sidebar.
but testimonials repeat as soon as i load a second (or i guess third) sidebar with the widget.you can see it here:
https://aq295.w4yserver.at/wp/?page_id=19I have rotations turned off.
So each widget should just show 1 testimonial.
And there’s like 2-3 widgets in EACH sidebar.
Because the page does have multiple sidebars, each next to a post.Check it out:
https://aq295.w4yserver.at/wp/The qotes sidebar is not implemented here yet.
but this is how my custom sidebar.php for the quotes looks like for now:
<!-- $extra_class gets set in index.php, decides wether sidebar gets positionen left or right --> <?php $args= array( 'refresh_interval'=> 0, 'unique'=>'true', 'limit'=> 1, ); ?> <div id="presse-<?php echo $c ?>" class="sidebar-teaser sidebar-presse fourcol left last clearfix sidebar-<?php echo $extra_class ?>" role="complementary"> <ul> <hr> <?php echo testimonialswidget_widget($args); ?> <hr> <?php echo testimonialswidget_widget($args); ?> </ul> </div>
i guess i’m doing something fundamentally wrong…
should i use testimonialswidget_list() instead.
does it work with unique ?
it did not when i tested…thanks,
pif i don’t set “unique” at all, testimonials are shown.
I’m trying to use the premium version as follows:
<?php $args = array( 'refresh_interval'=> 0, 'unique'=>'true' ); echo testimonialswidget_widget($args); ?>
but only get “No testimonials found”.
Yes, I created testimonials.
What am i doing wrong?Best,
pDon’t worry, it’s no biggie for now!
Did you want to post a link to another thread?
Cause this one points to this thread!