piterkaillada
Forum Replies Created
-
Forum: Plugins
In reply to: [10WebSocial] Mobile viewThank you!
Forum: Plugins
In reply to: [10WebSocial] pagination customizationHi and thanks for your response.
I temporarily deactivated the plugin to investigate some issues it was having. Now, it’s active again and you can see the pagination buttons π
The issue I was telling you is that in the pages where your plugin and this other plugin (Interactive Maps) co-exist, the Instagram feed shows this message: “Instagram token error” and the feed loses the right layout. You can see it here (two more examples: one / two).
The maps plugin developer told me that the cause could be “your minify settings and the way all javascript is being minified into one file” and recommended to try deactivating Autooptimize. So I did, and without Autoptimize it works fine… but my page performance goes down. I was wondering if there is another way of fixing this issue.
I’m going to keep Autooptimize on so you can see the issue.Thank you very much for you help!
Forum: Plugins
In reply to: [10WebSocial] Mobile viewHi,
Thanks for your reply. Your suggestion worked perfectly!
Let me make it a bit more complicated, though π
If I want mobile devices to have 2 columns and tablets to have 3…
Considering I want to use 600px and 992px as breakpoints, IΒ΄ve tried using this CSS:@media only screen and (max-width: 600px) { .wdi_feed_item { width:50% !important; } } @media only screen and (max-width: 992px) { .wdi_feed_item { width:33% !important; } }… but the latter overrides the former.
Can you, please, give me a hand here?
Thank you so much again!
Forum: Plugins
In reply to: [10WebSocial] hover effectHi and thanks for your reply.
I’d like to apply a grayscale filter to the hovered image. I guess that it would be something like this, applied to the right selector:
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}{
transition: 1s ease;
}Thanks! π
Forum: Plugins
In reply to: [10WebSocial] hover effectHi!
Following this topic…
First thing: thanks for this great open source plugin!
I’m trying to find the right CSS selector to apply a filter on hover to the hovered image on the feed, but I’m not able to get it done.
This is the url I need help with.
Any help would e much appreciated!
Have a good day!
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Custom CSS box in ElementorHi again!
I found a way to solve the problem: assign a CSS class to the widget in the widget options inside Elementor and then use this class in Appearance > Customize > Other (css box) to make any style changes.
It works but I wonder if there’s a better way to go.If you’re so kind, I would still appreciate a lot some assistance with my issue in the previous message’s PS π
Thank you again!
- This reply was modified 7 years, 5 months ago by piterkaillada.
Forum: Plugins
In reply to: [Autoptimize] Conflict with ElementorHi Frank!
First of all, thank you so much for your quick reply π
I thought of starting a new thread, but ended up doing it here. Sorry and now I know for the next time.
Thank you so much as well for your recommendations, which for sure I’m going to apply.
I’ll let you know how it all went as soon as I can.Have a good day!
Forum: Plugins
In reply to: [Autoptimize] Conflict with ElementorHi there!
First of all, thank you very much for your amazing plugin! It’s a must! π
My issue is hard to explain. There’s a conflict between Autoptimize and Elementor, but it seems to be a bit chaotic in its behavior, because it comes and goes.
I realized that when Autoptimize is activated, it breaks the styling of some parts in pages created with Elementor. Before going any further:
– I’m using the last versions of WordPress, Autoptimize and Elementor.
– I checked one by one all the plugins with Elementor. I’m positive the conflict is between this two plugins.
– I use Cloudflare but with Rocket Loader off.
– “Also optimize for logged in users?” is disabled.When I detected the conflict, I decided to deactivate Autoptimize, since I was building some pages with Elementor. After I finished that task, I turned Autoptimize on again, and those pages stayed fine, nothing was broken or lost the styling.
Some days later, I edited one of those pages, adding a new section, and when published, it lost the styling.After that happened, I decided to do some tests:
If the only selected box in the plugin advanced menu is:
– Optimize CSS Code? –> breaks everything
– Optimize JavaScript Code? –> prevents my fullwidth sections from being fullwidth.
– Optimize HTML Code? –> no problemsI’m going to keep Autoptimize deactivated for a while because I still have to use Elementor to finish some tasks. When they’re done, I’ll try activating it again.
This and this are two good examples of pages where the issue is present.
Hope you can help me! And thank you very much in advance!!! π
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Taxonomies alignmentI found another solution. Will try this one as well.
Thank you very much!
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Shorten post titleOK. Thanks anyway
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Shorten post titleThank you very much, that was a great solution. Excellent support one more time!!!
I hope you don’t mind me asking this: is there any way to limit the post title to a certain amount of lines (instead of words or characters) that’s cross browser?
Thank you again!
Forum: Plugins
In reply to: [WP Popular Posts] Display custom taxonomySwitch to PM?
Forum: Plugins
In reply to: [WP Popular Posts] Display custom taxonomyHi again!
Well, this is my best, but still not enough. In order to modify thumbnail sizes, I tried this:
/** * Builds custom HTML. * * With this function, I can alter WPP's HTML output from my theme's functions.php. * This way, the modification is permanent even if the plugin gets updated. * * @param array $mostpopular * @param array $instance * @return string */ function my_custom_function( $mostpopular, $instance ){ $output = '<ol class="wpp-ul">'; // loop the array of popular posts objects foreach( $mostpopular as $popular ) { if ( isset($instance['widget_id']) && 'wpp-4' == $instance['widget_id'] ) { // return html output for widget wpp-4 // Thumbnail $output .= ( has_post_thumbnail( $popular_post->id ) ) ? '<a href=' . get_permalink( $popular_post->id ) . ' class="wpp-img">' . get_the_post_thumbnail( $popular_post->id, array(240, 156) ) . '</a>' : ''; } else { // return html output for the rest of the widgets / shortcodes } } $output .= "<li>"; $output .= "<h2 class=\"entry-title\"><a href=\"" . get_permalink( $popular->id ) . "\" title=\"" . esc_attr( $popular->title ) . "\">" . $popular->title . "</a></h2>"; $output .= $stats; $output .= $excerpt; $output .= "</li>" . "\n"; } $output .= '</ol>'; return $output; add_filter( 'wpp_custom_html', 'my_custom_function', 10, 2 );It didn’t work. I don’t really know what I’m doing so it might be wrong or missing something.
If some code must be added to the html markup box, I simply have no idea how to do it.
This is the link where I’m using that wpp-4 widget. By the way, I noticed how it overflows its container and slightly overlaps with the footer menu. It’s weird and causes issues with the surrounding elements.About the shortcode, I also wanted to change the image size. This is the code I’m using:
[wpp post_html='<li>{thumb} <a href="{url}">{text_title}</a></li>' wpp range="last7days" stats_views=1 order_by="views" wpp pid='267,746,269,720' wpp limit=5 wpp thumbnail_width=500 thumbnail_height=130 wpp stats_taxonomy=1 post_html='<li>{thumb} <a href="{url}">{text_title}</a> {category}</li>']
You can see it here. It’s the second list of posts; the first is another plugin. Note that is shows the custom taxonomy but not the category.Well, I’m about to give up, this is becoming too much for me and I’m asking way too much of you! It makes me wonder if there’s not a way to simultaneously check the Category and Taxonomy boxes in the widget menu? That’s all I originally needed! ππ
In any case, thank you for your patience and support!!!
Forum: Plugins
In reply to: [WP Popular Posts] Display custom taxonomyHi again,
OK, let’s start saying that my main widget looks exactly the way I wanted. I’m really glad about it and extremely thankful because it would have been simply impossible without your help.
Now, since we got this far, I hope you don’t mind me trying to understand some more things and asking you some more questions. Here I go:
I don’t think I need any other complex features, so all I’d like now is to be able to play with the existing options. In this regard, would you be so kind of providing me with an example of how to use the html markup, e.g. to edit the thumbnail size? And, please, I would also like to know what to do after I select an option in the widget checkboxes, because now nothing happens after changing the checkboxes settings.Am I wrong or now I have to choose between a) html markup or b) checkboxes + custom functions, to change the widget settings?
About the shortcode, I’ve tried it in different posts with different parameters and I can’t get the regular categories to be displayed (my custom taxonomy does though) and neither I can edit the thumbnail size. Could it be because the class tags changed after modifying the code?
By the way, I tried styling a widget via css and its own id and it worked fine.
I think I’m close to achieve all I wanted!Like always, thank you very much, HΓ©ctor.
Forum: Plugins
In reply to: [WP Popular Posts] Display custom taxonomyHi HΓ©ctor,
I’m lost, I’m sorry. Html still is too far away from me. Let’s see…
I don’t know how to use
(print_r( $instance ). Don’t know how or where.If I’m not wrong, I understand that now, every time I’d like to modify the “stock” settings, I have to write html via
my_function( $popular_posts, $instance )usingwidget_idand save it in my functions.php or code snippets. I have some questions about his, hope you can enlighten me!– Would this only work for the widget, and shortcode would always look like the “stock” ?
– Could I use css (with the specific widget id) to style any particular output to my liking?– In the case I wanted to use a certain “template” (not the “stock”) in different posts / pages, would it be enough to add all the widget id’s to the function?
For example, I’m thinking that what I’d like to edit in a new widget would be only the image size and the text properties and general alignment of all the items. Would I have to change the image size through html and the rest through css?
I wish I could edit the settings through the widget menu like before! π₯ hahaha
Anyway, I’m sweating a lot, but learning. Thank you very much again!