• Resolved skygazer

    (@skygazer)


    Just downloaded this and giving it a try. I’m wondering if it would be possible to make the thumbnails appear on the right of the title?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @skygazer,

    Of course! You can use some CSS to change its position around. The actual CSS you need for that depends largely on your theme though. If you share your site’s URL I might be able to help.

    Thread Starter skygazer

    (@skygazer)

    HI Héctor, I appreciate the reply.

    I don’t like to post my site URL because I noticed that it ends up on google searches and it kind of allows people to know my business by just typing my site name things from these forums would pop up on occasion.

    Is there any way I could send it directly or any other method of doing it. I think my profile on here might have my site URL..let me know.

    Also, not to jump onto other issue when I haven’t properly solved this one but I also noticed that your plugin doesn’t seem to handle the task of showing the most recently viewed posts properly. I just started using it yesterday (i have it as only visible to admin currently) and I noticed it includes some posts that are not within the last 7 days even though that is what I set it at. I tried changing settings but still includes post NOT from the last 7 days and some from the rest from when current views.

    Sorry if you want I can post the second part in a new post, didn’t mean to go into another issue but thought maybe it would be easier to just bring it up now.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alright, I’m assuming that you want the WPP widget to look like your “Recently Added” widget. So:

    1. Go to Widgets > WordPress Popular Posts, enable the “Use custom HTML Markup” checkbox under HTML Markup settings and hit Save to apply changes.
    2. Set Before / after Popular Posts to:

      <div class="srpw-block srpw-classic-style"><ul class="srpw-ul">

      and

      </ul></div>

      respectively.

    3. Set Post HTML markup to:

      <li class="srpw-li srpw-clearfix"><a class="srpw-img srpw-alignright" href="{url}" target="_self">{thumb_img}</a><div class="srpw-content"><a class="srpw-title" href="{url}" target="_self">{text_title}</a></div></li>

    4. Hit Save again to apply changes.

    Additionally, since you’re using WP Fastest Cache:

    1. Go to Settings > WordPress Popular Posts > Tools, set Ajaxify widget to Enabled and hit Apply to save changes.
    2. Clear WPFC’s cache.
    3. Follow these instructions to ensure WPFC gets along with WPP.

    Also, not to jump onto other issue when I haven’t properly solved this one but I also noticed that your plugin doesn’t seem to handle the task of showing the most recently viewed posts properly. I just started using it yesterday (i have it as only visible to admin currently) and I noticed it includes some posts that are not within the last 7 days even though that is what I set it at. I tried changing settings but still includes post NOT from the last 7 days and some from the rest from when current views.

    Ok, two things:

    1. Please read this and this to understand how WPP works.
    2. From your comment I’m guessing you want the widget to show the most popular posts that were published within the last 7 days. If so, go to Settings > Widget > WordPress Popular Posts, tick the “Display only posts published within the selected Time Range” checkbox and hit on Save to apply changes. Similarly, there’s an option for that in the Stats section of the plugin (Settings > WordPress Popular Posts) and you can find it by clicking on the gear icon on the top left.

    Hope that helps. If you have any other questions don’t hesitate to ask.

    Thread Starter skygazer

    (@skygazer)

    Héctor, thanks for the detailed reply.

    First, I did mange to get the thumbnails to appear on the right of the titles by following your steps so that part is completed successfully it would appear, thank you for that.

    Second, unfortunately I did everything you said in order to correct the incorrect ‘most viewed posts’ issue but it still didn’t change. I had already enabled the Ajaxify option prior to you advising to do so (based on reading from your plugin page). I had also tried clearing the WP cache plugin and still no change. Now I decided to clear WPP cache too and will now have to wait for views to build back up, I had no choice as I was feeling a little frustrated that it wasn’t reading the right post views. I guess now we have to wait and see what happens.

    Oh and also the cache plugin is set to refresh everyday (24 hours) so it’s been a few days and so that’s been done automatically while your plugin has been in use and it didn’t seem to help with the issue.

    • This reply was modified 7 years, 4 months ago by skygazer.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Oh and also the cache plugin is set to refresh everyday (24 hours) so it’s been a few days and so that’s been done automatically while your plugin has been in use and it didn’t seem to help with the issue.

    The problem with this is that if the cache expires after WPP’s nonce expires, the plugin won’t be able to track new pageviews until WPFC’s cache is rebuilt. If you want WPP to track visits to your posts and pages accurately please consider lowering the expiry time as suggested in the article I shared with you before.

    Thread Starter skygazer

    (@skygazer)

    Oh I see, I didn’t know you were trying to say I should adjust the WPFC’s cache Nonce setting. Ok but how come , I’ve used other ‘popular post’ plugins and they worked fine. I only stopped using the one I had before because the guy quit maintaining it and it was outdated (it made all my FB share number in articles disappear..not the actual shares but the number of shares shown as ‘shared’.) I was using one made by I think is name is Ryan Macu or something like that (I forget the name of the actual plugin). But I digress…

    So now I was forced to use Jetpack ‘popular post’ while I search for a good one. I’ve tried a few others and they also do the same issue where they don’t show the proper views. So I guess why only Jetpak and the other plugin I used to use show the right views without me having to make any changes to any settings?

    Also will me changing that WPFC’s cache setting from every 24 hours to a lesser number have any negative side effects?

    • This reply was modified 7 years, 4 months ago by skygazer.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Well, chances are those other plugins you tried didn’t use nonces nor any other security actions to prevent people from doing malicious stuff to your site and its data. The exception here would be Jetpack as they store your data in their own servers so I’m sure they’re using a different validation method (probably something similar to what Google Analytics does in this matter).

    Also will me changing that WPFC’s cache setting from every 24 hours to a lesser number have any negative side effects?

    I’m only a bit familiar with WPFC since I only started using it recently, so I’m going to answer your question based on what I’ve seen so far: it depends.

    WPFC has an option to called preload that basically seems to create an HTML version of all of your posts and pages in one go. If you have this option enabled and your site has a lot of posts and pages (eg. 5000, 10000, 25000 posts), then having the cache expire too often (eg. every hour) might have a performance impact on your site and in this case you’ll want to keep the preload option disabled.

    Other than the above, there shouldn’t be any side effects to lowering the expiry time of WPFC’s cache (and if you want to be 100% sure it’ll be fine, you may want to confirm with WPFC directly as they know their stuff better than I do :P).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is there a way change Image position’ is closed to new replies.