Viewing 30 posts - 31 through 60 (of 103 total)
  • Author
    Posts
  • #1054926

    Hi Mike !!

    Thank you for the feedback, I would like to assist, but some of these requests are more involved than a few lines of code, they would require more than our scope of service, such as:
    “replace the date of the last change with the date of the last comment received”
    and making the blog posts filterable.
    -1- That’s what I imagined, we’ll find other solutions. Thanks!

    We do have the masonry element that is filterable and will show random. If you try this, try the settings “perfect grid” & “high portrait” for the images
    -2 maybe it could be right for me, is it possible to add the comment count in the previews of the masonry grid? and is it possible to obtain a grid with the proportions of the original photos (height 3, width 2)
    I created a test grid at link 4 (in private)

    But to make your other blog posts random, Try adding this code to the end of your functions.php file in Appearance > Editor
    -3 I tried the code but unfortunately did not work, I hope we can solve either point 2 or point 3 to be able to get what I want. Thank you!

    Many thanks for yours

    #1054932

    Hi,
    Thank you for the feedback, I would like to assist, but some of these requests are more involved than a few lines of code, they would require more than our scope of service, such as:
    “replace the date of the last change with the date of the last comment received” and making the blog posts filterable.
    -1 Yes, I imagined, I will look for other solutions, thanks anyway!

    We do have the masonry element that is filterable and will show random. If you try this, try the settings “perfect grid” & “high portrait” for the images.
    -2 Very well, this could be right for me, but is it possible to add the comment count in the previews? I created a test gallery at link 4 (in private)

    But to make your other blog posts random, Try adding this code to the end of your functions.php file in Appearance > Editor:
    -3 I tried the code but it did not work, I hope to solve at least one of these 2 points to be able to get what I need …
    Thank you for your wonderful support
    I am waiting for an answer.

    #1055420

    Hi Mike, I’m sorry if I write again, but the exact opposite of what I wanted to do.

    In the Page (new link 1 in private) there are 2 galleries, the first with images should be random, the second at the bottom without images must be in chronological order.
    How can I put this in order?
    Many thanks for your support

    #1055431

    I have reloaded in file system enfold child the old Archieve.php and function.php files … and everything is back as before
    I should just be able to randomize the gallery and be visible in the link I put in private, or else add the comment count to the masonry grid that would be great.
    I await your intervention. THANK YOU

    • This reply was modified 5 years, 11 months ago by Marco.
    #1055432

    I have reloaded in file system enfold child the old Archieve.php and function.php files … and everything is back as before
    I should just be able to randomize the gallery and be visible in the link I put in private, or else add the comment count to the masonry grid that would be great.
    I await your intervention. THANK YOU

    • This reply was modified 5 years, 11 months ago by Marco.
    #1055979

    Hi,
    Sorry for the late reply, I added this code to your functions.php and now the posts on “Pisa” are random, Please clear your browser cache and check.

    //show blog posts random
    add_filter('avia_post_slide_query','avia_order_by_random', 10, 2);
    function avia_order_by_random($query, $params)
    {
    $query['orderby'] = 'title';
    $query['order'] = 'rand';
    
    $terms = explode(',', $params['categories']);
    if (!empty($terms) && in_array(1, $terms)) 
    {
        $query['orderby'] = 'date';
    }
    return $query;
    }

    Best regards,
    Mike

    #1056162

    Hi Mike, Thanks! your help is Fantastic!
    Only problem is that it appeared that the data of the day next to the comment count. I had removed it from the main panel-enfold Child “Blog Layout” but after your modification it reappeared.
    moreover the preview photo in the internal research “ajax recearch” is became a feu big ….

    Waiting for your response.
    Thank you!

    #1056197

    Hi,
    To remove the date, try this css:

    .slide-meta .slide-meta-del, time.slide-meta-time {
    display: none !important;
    }

    for the search results, try this css:

    .ajax_search_response .av_ajax_search_image {
        border-radius: 0px !important; 
    }

    Best regards,
    Mike

    #1056423

    Hi Mike,

    Fantastic ! the first css code, regarding the day date worked …

    The second did not work. I noticed that the one for the internal research took effect but only in the preview of the entire research (the one that appears while writing the word on the research) and therefore it is equally convenient because I like how it modeled that preview, it would be interesting to know how to put the number of comments there, however, when you click on “send” the previews are bubble-shaped and a little too big, …
    Thank you very much for your help, I would really make you a monument!

    • This reply was modified 5 years, 11 months ago by Marco.
    #1056943

    Hi,
    Sorry I guess I didn’t understand correctly, the second code was to make the ajax search have the square images, please see [image 1]
    but I now understand you want the search results to also have a square image like in [image 2]
    for that please try this css:

    .search.search-results .template-search .entry-content-wrapper .post-title,.search.search-results .template-search .entry-content-wrapper .post-title+.post-meta-infos {
        padding-left: 160px !important; 
    }
    .search-result-counter img {
        border-radius: 0px !important; 
    }

    I noticed that the titles and comments were not lined up well, so this code also helps with that.

    Best regards,
    Mike

    #1057337

    Oh Mike! You are the best! it worked!
    but it would be better if the photos were in 2/3 format and not square … I do not know if it’s possible to modify … otherwise it’s okay too.

    I’m a little worried about css, I think have custom css with the same selector and should be deleted.
    Could you delete the custom css codes in excess for me?
    Thank you for your work, I am very grateful.

    #1057551

    Hi,
    I took a look at your WordPress > Customize > Additional CSS and compared to your Enfold Theme Options > General Styling > Quick CSS field and found a few duplicates, so I cleaned it up and moved all the css to the WordPress CSS.
    I also adjusted your search results images so they are not square.
    Please clear your browser cache and your WordPress cache and check . I made backups of the css should you find a error, but all looked good when I checked.

    Best regards,
    Mike

    #1058358

    Hello ,
    Thank you ! just what I wanted!
    but something did not work, the image galleries now do not change any position, anymore. I noticed an error, you can see it by accessing the back end, and opening the link that I have entered in private.
    Thank you so much!

    • This reply was modified 5 years, 11 months ago by Marco.
    #1058549

    Hi Mike, after writing you the answer, I tried to delete this function because the error was reported to the file function line 28;

    $ terms = explode (‘,’, $ params [‘categories’]);
    if (! empty ($ terms) && in_array (1, $ terms))
    {
         $ query [‘orderby’] = ‘date’;
    (So now I no longer glowed the error at the link that I put in private)
    it was the last function you wrote in the function.php file.
    also modified this “// show blog posts random
    add_filter (‘avia_post_slide_query’, ‘avia_order_by_random’, 10, 2);
    function avia_order_by_random ($ query, $ params)
    {
    $ query [‘orderby’] = ‘name’;
    $ query [‘order’] = ‘rand’;

    return $ query;
    }

    and put it this way:
    // show blog posts random
    add_filter (‘avia_post_slide_query’, ‘avia_order_by_random’, 10, 2);
    function avia_order_by_random ($ query, $ params)
    {
    $ query [‘orderby’] = ‘rand’;
    $ query [‘order’] = ‘rand’;

    return $ query;
    }

    Please , Could you check it? because the ajax cearch on mobile it is not well…
    Thank you so much !!!

    • This reply was modified 5 years, 10 months ago by Marco.
    #1058973

    Hi,
    I took a look at your page, and the posts change position with every page load, and seems to be random. So do you mean that this is working fine now?
    I looked at your ajax search, and the only thing I could see wrong is that the images are a little smaller in the drop down preview, is this the error that you see?

    Best regards,
    Mike

    #1059170

    Hi, Mike !
    You:<< I took a look at your page, and the posts change position with every page load, and seems to be random. So do you mean that this is working fine now?>>:
    I:<< Hi, it now seems to work, but I had to delete this piece of code because an error was reported on line 28: :

    $ terms = explode (‘,’, $ params [‘categories’]);
    if (! empty ($ terms) && in_array (1, $ terms))
    {
    $ query [‘orderby’] = ‘date’;

    in this way the error went off at line 28, but the tunnels remained stationary. but I lost the function of that code that I do not know what it was for…

    – to make the galleries in random order, we have changed this:
    “// show blog posts random
    add_filter (‘avia_post_slide_query’, ‘avia_order_by_random’, 10, 2);
    function avia_order_by_random ($ query, $ params)
    {
    $ query [‘orderby’] = ‘name’;
    $ query [‘order’] = ‘rand’;

    return $ query;
    }

    To This:

    “// show blog posts random
    add_filter (‘avia_post_slide_query’, ‘avia_order_by_random’, 10, 2);
    function avia_order_by_random ($ query, $ params)
    {
    $ query [‘orderby’] = ‘rand’;
    $ query [‘order’] = ‘rand’;

    return $ query;
    }

    now everything seems to work, but I’m not sure I did the right thing, Since I trust you very much, please try to put the deleted function back but do not give errors and check if the function.php is OK. Thanks

    Best regards,
    Mike

    #1059211

    Hi,
    I see, the original code that I posted took into account all of the categories, but you page is not using all of the categories so that was giving the error.
    You edit is working correctly for your situation, well done.

    Best regards,
    Mike

    #1059212

    Thanks Mike! you are an angel!
    now it only remains to fix the preview photo in the ajax recearch from mobile ( please, see the link in private, using a mobile)

    and then I will open other posts for other improvements to be made.

    Best Regards!
    Sacha

    #1059255

    Hi,
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    @media only screen and (max-width: 767px) { 
    #top.search-results .template-search .post-entry {
        height: 240px !important; 
    }
    }

    Best regards,
    Mike

    #1059639

    Hello!
    Thanks a lot Mike, it worked.

    Do you know how I can make amp pages on my site?

    #1059873

    Hi,
    There is a plugin you can use, but Enfold doesn’t work so good with it. Our developers are currently in preparation for the AMP integration. There’s no ETA yet but it will be implemented on the theme in the future.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1059908

    Hi Mike !
    I hope you do not hate me, but I have many improvements to do again and you are very good at your job.

    I have to lighten the photos, google speed page says that some photos are not cut out responsively.
    also always on the photos says that I should use one of the JPEG 2000, JPEG XR and WebP, to serve visitors with mobile phones.
    Can you suggest something?
    Many thanks !
    Best regards.
    Sacha

    #1060699

    Hi,
    To lighten images, please try some plugins like WebP Express or Compress JPEG & PNG images

    Best regards,
    Mike

    #1067867

    Hello Mike ! how are you? I hope all is well!…
    I need to make an improvement again ..
    Look at these 3 pages on private…

    these pages have 2 galleries, the first gallery in random order with large preview, summary and number of comments, and it is well..

    The second gallery would instead be ordered to last edit and show the comments, the date of publication, and the summary.
    in practice we should change only the second gallery of these three pages, the second glleria (with small previews) so that it is not random but in chronological order and showing the date .. is it possible?

    Best regards
    Sacha

    • This reply was modified 5 years, 10 months ago by Marco.
    #1068727

    Hi,
    If I understand correctly, you would link the first gallery to continue to be in random order, as it is now. But the second gallery you would like it to be in chronological order?
    You are also using the same gallery element for both galleries on the same page, so we would need to find a way to add this option?

    Best regards,
    Mike

    #1068797

    Hello Mike!
    correct, both the first and the second are galleries of the blog, the only difference is that the first gallery is 3 columns with images 450 x 675 px and the second gallery is 5 columns with images 80 x 80 px.
    The 3-column tunnel is fine and so nothing needs to be changed;
    The 5 columns gallery is the one I would like in chronological order and with the visible date, number of comment and together with the summary and the number of comments.
    Could we give different instructions for the gallery to 3 compared to the 5?

    Perhaps the best thing would be to leave everything as it was by default with the date, summary, comment count, and in chronological order; and leave only the blog gallery with 3 columns that is random and no date of day, keeping summary and comment count only, but no date of day.
    Thank you!
    sincerly,
    Sacha

    • This reply was modified 5 years, 10 months ago by Marco.
    #1069262

    Hi,
    Sorry I’m not sure how we can achieve having chronological order and random order for the same element on the same page, because when we added the function to make the element have random order it affected the element on the whole site, we don’t have a way to tell it random and chronological in two sections on the same page.
    I hope this makes sense.

    Best regards,
    Mike

    #1069464

    Hi Mike, I do not know if you’ve made any attempt on the site …. but my most important page has disappeared from the google search.
    if you changed something, can you bring it back as before?
    Thank you

    #1069763

    Hi,
    Sorry, I have not done anything to your site, only because I couldn’t think of a solution for the two types of order in the same element. But I did see your site on Google, it was number 20.

    Best regards,
    Mike

    #1069829

    Thanks Mike, yes, corrected, yesterday there was an update of a pluginn that cauried me a slowdown … now everything is back as before .. if there is not a way to order those “second galleries” I’ll leave ‘so why use another element could slow down the site.

    – I have other work to do, for example, I created the page for 404 errors, but I would like to have the dynamic title based on the search phrase that led the user on that page. it’s possible to do it? if it were not possible, how can I modify it to optimize it better?
    Thanks Mike, I know I’m a source of stress for you :-D

    Sincerly,
    Sacha

    • This reply was modified 5 years, 10 months ago by Marco.
Viewing 30 posts - 31 through 60 (of 103 total)
  • The topic ‘Picture and text zoom on smartphone’ is closed to new replies.