Suggestion for future update
-
Hello I`m using your plugin since you released it.
It is awesome! Thank you very much for your work.I have one suggestion for an upcoming update.
– Please add the possibility to set the title of the related article above the image.Cheers Chris
-
Hey Chris,
This feature was in my plans anyway, so it will be done.Great to know that you will implement this feature!
I have noticed one little thing which is disturbing me. As you can see all images are a little to big, as you can see here:
http://s1.directupload.net/images/140106/s6epbgdy.jpg
(http://www.ps4source.de/viele-neue-neue-infos-zu-thief-neuer-trailer/)The gaps should be identical. I have tried to use the crop thumbnail feature, but it’s getting worse than better. Could you help me?
Hey Chris, sory for the delay but I missed this one.
File erp_widget.php line 249 now is like
echo '<li class="erp_li_elem" ><a class="erp_a_elem" href="' . get_permalink() . '">';
Change it to
echo '<li class="erp_li_elem" style="width:273px;" ><a class="erp_a_elem" href="' . get_permalink() . '">';
This is not the pretiest solution and it is kind of hardcoded but it would do the trick for now. Please note that in any update this will be reverted to it’s original form, so keep a note in case you need to modify it again.
Thank you very much!
It looks perfectly now. Hope you will also implement it the next update.cheers Chris
Hello I have now with version 2.0 the same problem.
But the line is not there anymore:File erp_widget.php line 249 now is like
echo ‘<li class=”erp_li_elem” >‘;How can I solve the problem now?
This is normal Chris. I follow your themes sidebar style… in your themes style.css on line 1774 there are the following definitions
.widget ul, .widget ol { margin:0px;} .widget ul li { border-bottom: 1px dotted #E6E6E6; color:#222; list-style: none; padding: 8px 5px 8px 11px; }
As you can see the padding is 5px on the right and 11px on the left…
The reason this happens only with ERP is that I use list elements for presentation.
So,
If you want to modify the plugin code go to
wp-content/plugins/[erp folder]/front/views/widget/Basic/basic.php on line 22 you see this
<li class="row"
make it
<li class="row" style="max-width:273px;"
This should work for all future updates as V2 implements a theme system and i am not planning to mod the basic widget theme, so you will be ok.
Cheers
Thank you very much for your fast answer!
Its perfectly now.I have noticed one bug.
Even if I checked Hide if no posts to show the widget displays the newest articles Ive written. You can see this bug here: http://www.ps4source.de/atelier-rorona-plus-der-klassiker-erscheint-29-juni-2014-fuer-ps-vita-und-ps3/Cheers Chris
A second bug appeared. The widget “Beliebteste Artikel” shows cropped images. This only appears, if im using easy related post at the same time. Here you can see the bug: http://www.ps4source.de/mittelerde-mordors-schatten-make-trailer-und-bekanntgabe-des-komponisten/
I have noticed one bug.
Even if I checked Hide if no posts to show the widget displays the newest articles Ive written. You can see this bug here: http://www.ps4source.de/atelier-rorona-plus-der-klassiker-erscheint-29-juni-2014-fuer-ps-vita-und-ps3/This is fixed in V2.0.1
A second bug appeared. The widget “Beliebteste Artikel” shows cropped images. This only appears, if im using easy related post at the same time. Here you can see the bug: http://www.ps4source.de/mittelerde-mordors-schatten-make-trailer-und-bekanntgabe-des-komponisten/
Unfortunatly I cant reproduce this. Which plugin do you use to display the second widget?
Any other info that will be usefull?The Plugin is called: AJAX Hits Counter + Popular Posts Widget
As you can see on the homepage it works well there. Just inside articles the images are cropped.Could you please check options for Popular Posts Widget, I’m almost sure this isn’t ERP’s fault…
In Popular Posts Widget there is a widget that defines the content to be displayed, there should be a directive{thumbnail-widthxheight}
or{thumbnail-small}
or something similar. You can define thumbnail size from there.I have changed now {thumbnail-273×137} to {thumbnail-large} but now both widgets have again the gaps. Somehow they are related to each other.
This is the code I have used for popular post widget on the main page:
<span class=”entry-content”>
<span style=”color: #000000;”><b>{post_title_5}</b></span>
{thumbnail-273×137}</span>
And this is now the code Im using on single article page:
<span class=”entry-content”>
<span style=”color: #000000;”><b>{post_title_5}</b></span>
{thumbnail-large}</span>
Cheers Chris
Both ERP and Popular Posts Widget use list elements to present posts, so it’s normal for both to have the gaps.
I can’t solve this for Popular Posts Widget but send me an e-mail in xdark.eu at gmail.com. Have something for you to solve the gaps problem for ERP once and forall.
- The topic ‘Suggestion for future update’ is closed to new replies.