Forum Replies Created

Viewing 14 replies - 31 through 44 (of 44 total)
  • Thread Starter piterkaillada

    (@thebea58)

    You’ll want to move the modified wpp.css file into your theme’s folder.

    Would it be the same to keep it in a Code Snippets plugin?
    If I move the wpp.css file… I’m using a child theme. Where exactly should I move the file to? Would the child’s theme root folder be ok?

    Widgets, however, can display different outputs (eg. you might want to use a custom HTML structure for a widget and use the “stock” one for another) if you use the widget_id parameter (included in $instance) and a bit of coding logic

    Ok, I think I understand most of this, but not everything.

    – Does this mean that now, if I want to modifiy the “stock” settings in a new widget, I have to do it via html instead of the own widget settings menu? I tried adding a new widget with a different image size, different output options, all selected in the widget’s menu and it doesn’t work.

    – Where should that code you shared be placed? In the markup html box? As a code snippet in a specific code snippets plugin?

    – Where would my custom code go? Would it go in the html markup box?

    I’m sorry, but when it comes to html I’m lost. I think I wouldn’t know how to customize things that way.

    …and the chain will go on

    Absolutely! I don’t know if that will be the case for me in this particular subject (I wish!), but that’s undoubtedly the way to go! You’re keeping alive faith in humankind and humanity 🙂

    Thread Starter piterkaillada

    (@thebea58)

    No, that’s not correct.

    The get_the_post_thumbnail() function …

    Like I told you, I’m a total beginner, I’m learning as I go, and in most cases imitation is my best play. That’s why receiving the kind of support you are offering in every single of your messages is so great and so much appreciated!

    I’m glad to let you know that, it took me a while, but I managed to use css to style the widget to my complete liking and fitting the rest of the blog.

    Just FYI, I had to change all the selectors in wpp.css, because they all changed after I used your code.

    One last question: will all these modifications also apply if using the plugin via shortcode?

    Well, Héctor, like I said many times, huge, huge thanks. It might be something simple for you, but I couldn’t have done all this changes without your kind help, for which I am extremely grateful.Your plugin and you are great!

    Thread Starter piterkaillada

    (@thebea58)

    Hi Héctor;

    I changed all the class tags to wpp.

    I deleted all cache and regenerated thumbnails and all the images are still as wide as their column. This is my thumbnail code:

    // 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, '80, 52' ) . '</a>' : '';

    I tried different options for the thumbnail size value, but nothing worked. Changing the value through the widget controls in the Dashboard (tried a registered size of 45×45) didn’t work either.
    Despite the current look is pretty cool, I’d like to be able to edit the thumbnails size, if possible.

    All css can be easily done, I think. I don’t know how to remove the bullet point, though.

    One more time, huge thanks!

    Thread Starter piterkaillada

    (@thebea58)

    Hi again, Héctor.

    First of all, thank you very much for your kindness and solutions 😀

    Secondly, there’s still some things not working out properly, but I don’t want to take advantage of you, so just let me know if I’m asking too much, ok?

    That should take care of things 🙂

    That was effective, now the custom taxonomy is displayed, but at the same time:
    1. added a bullet point to the list
    2. Altered the image sizes. Now they’re as big as they can get in the column. When I edited the value of get_the_post_thumbnail, I used the registered value (1080, 706). Later, I changed it to (80, 52), which is the size I’d like (I registered it, FYI), but the images have been the same size all along since I used the code.
    3. It changed the styling of all the data displayed (could it be because the class “tags” have changed? see #4 below). I think I can customize everything with css, except the quotes wrapping the post title, that I’d like to get rid of.
    4. Out of curiosity: for all the class “tags” you used “rpwe” instead of “wpp”. Is there a reason for that? Any connection with Recent Posts Widget Extended plugin I also use?

    Would it be wise to uninstall the plugin and start everything from scratch?

    Well, in any case, thank you very very much for your time, interest, knowledge and solutions! 🙂

    PS: by the way, the diamond separator was a high class detail 😉

    Thread Starter piterkaillada

    (@thebea58)

    Hi again and thank for the follow-up of the issue 🙂

    I added it at the end of my child’s theme functions.php. and got this message:

    Parse error: syntax error, unexpected ‘/’ in /home/thebea58/public_html/wp-content/themes/olsen-child/functions.php on line 111

    Line 111 has the same code than in the previous error message: $output .= '</ul>';

    Whenever you can look at it will be a good moment. Thank you so much.

    Thread Starter piterkaillada

    (@thebea58)

    Hi again, Héctor

    I reviewed the code, made the couple of changes needed and tried it, via Code Snippets plugin and pasting it in my functions.php. In both cases, I get the same error. This is the message generated in Code Snippets:

    The code snippet you are trying to save produced a fatal error on line 72:
    syntax error, unexpected ‘/’

    Line 72 is:$output .= '</ul>';

    It’s probably something simple, but again, I’m not there yet.

    Thank you one more time!

    Thread Starter piterkaillada

    (@thebea58)

    Héctor, this is beyond any expectations, beyond amazing.

    I really appreciate that you take your time to give this high quality help and you being always so kind and nice. I wish there was more people like you.

    I’m gonna read the code and try to make it work (you made it really easy for me). Highly appreciated, many thanks! 😀

    Thread Starter piterkaillada

    (@thebea58)

    Hi again, Héctor

    1. Custom thumbnail size created and in use in the plugin 🙂

    2.

    will require hooking into WPP to customize its HTML output to whatever fits your needs

    I’ve spent hours reading all the articles and tutorials and documentation provided in your plugin pages and linked in them, but this stuff is beyond my skills…

    If I’m not wrong I should create a filter with get_the_terms function, something like what is shown here, perhaps? Or with get_the_term_list?

    I’m at a loss. Even if I had the right function ready, I don’t know how to create the association with the plugin (I mean, what to write the code so the filter only affects WPP). I guess that wpp_custom_html is the way to go, but I’m just lost about it all. Any help, instructions or links to learn more would be very much appreciated.

    Thank you very much in advance, again!!!

    Thread Starter piterkaillada

    (@thebea58)

    Yes, I asked for your help in other regard a couple of months ago, in Github if I’m not wrong. Thanks! 🙂

    And thanks as well for such a quick and detailed reply, like always!!!

    I’ll try everything you suggested and let you know.

    Thread Starter piterkaillada

    (@thebea58)

    That was simply perfect. Thank you very much.

    Great plugin, greater support! 🙂

    Thread Starter piterkaillada

    (@thebea58)

    Excuse me for being insistent, I don’t want to be an annoyance.

    The only thing I need to finish customizing your fantastic plugin is displaying my custom taxonomy in every post, like categories. I know I asked about it and I don’t expect a detailed answer (I understand this might be tricky). I’ve been trying multiple things myself and none work.
    I would hugely appreciate if you could just point me in the right direction, please.

    It seems there’s no way I can get the get_mycustomtaxonomy_list.

    ANY help would be much appreciated.

    Thank you very much for your time 🙂

    Thread Starter piterkaillada

    (@thebea58)

    2. Well, I meant how to wrap your code for a snippet. I’m at a loss here.

    Thank you again.

    Thread Starter piterkaillada

    (@thebea58)

    Thank you very much for your fast and great help. I really appreciate it!

    I successfully added all the categories 🙂

    I hope you can help me with this two related issues I can’t get done:

    1. Adding a custom taxonomy to be displayed under the categories. I tried using the same code you provided, substituting “category” for my custom taxonomy slug, but it didn’t work. Broke everything, in fact.

    2. I’m a beginner in all this. I try to learn and do everything by myself, but sometimes I just don’t know how to do things or where to search for. Could you please tell me how should I write the code for all these changes to work in the Code Snippets plugin?

    Your help is much appreciated! Thank you again!!!

    Thread Starter piterkaillada

    (@thebea58)

    Hi and thank you so much for your answer!

    It allowed me to save and activate the snippet perfectly. I guess I will only see if the changes stay once the plugin is updated.

    In any case, your plugin and help are much appreciated 🙂

Viewing 14 replies - 31 through 44 (of 44 total)