Forum Replies Created
-
AuthorPosts
-
Hi Mike,
yes please, you can close the ticket.Thank you :-)
MarcoHi Mike,
You are right, it worked.Not sure what you meant by “moving” the picture but the PHP code worked. I kept the CSS code and just added the PHP code and now the archives are showing the pic :-)
Perfect. I believe the structure of my site (expect a little few things I will be doing) is quite done :-)
I could not do that without your help guys :-)
Appreciated
Marco
Hi Mike,
thank you for answering.This is what I want to achieve:
1) hide featured picture in each post (achieved with the following code).post-entry .big-preview { display: none !important; }
2) hide all the text of the post on the ARCHIVE PAGES (achieved with the following code)
.post-entry .big-preview { display: none !important; }
3) TO BE ACHIEVED YET
to show the featured picture in the ARCHIVE ONLY. Not on blog post – hidden on point 1.That is why I thought that we may use a code which says “show featured picture in the archive post”
Thanks,
MarcoHi Ismael,
thank you for your answer.I have replaced the code but the featured image does not display on archive page.
I tried to do this:
If with this CSS.post-entry .big-preview { display: none !important; }
and this other
.single .post-entry .big-preview { display: none !important; }
obtain the same result of hiding the featured image on a post and with this other CSS we hide the content in the archive page
.archive .entry-content { display: none; }
we might use a code that instead tells to SHOW the feature page in the archive page so I tried the following with no success.
What do you think?
Bests,
Marco
`Hi Ismael,
Yes, I had done a modification on the loop-index file, it was needed to amend the “updated post” from English to Italian to appear above to the meta info of a post.
I was given this code by Nikko
What do you mean that the file was manually removed from the template? You mean from Enfold? If this is the case, it means that instead of copying the file from Enfold to the child theme, I moved it by mistake, my bad. It is mandatory that I put back this file in Enfold? Or with the next update of Enfold this will be re-added automatically?
I believe this is the code that hides the featured image
.post-entry .big-preview {
display: none !important;
}I need this code in order to hide this https://www.screencast.com/t/7zNbNBMJ
How can I keep hiding the featured image but appearing ni the archive?
Thank you,
MarcoHi Ismael,
Thanks for the code. I see, the featured image has gone, how do I restore it?You say:
make sure that the featured image of the post is set
Thanks;
MarcoHi Ismael,
thank you for answering.
No, Not this way, with this CSS we hide the meta info but I want to keep it.So basically I would like to hide only the post content and keep: Meta info, title of the post and main pic.
Thanks,
MarcoHi Mike,
Both the answers are very clear and I fixed it. Your help was extraordinary :-)And by using a plugin Victoria suggested me, I can reuse this code below each post automatically Insert Blocks Before/After Post Content
Thank you Mike, absolutely appreciated :-)
Marco
Hi Ismael,
I am still working on the display of the posts in the archives :-)
I think I have found a solution.Could you please tell me how I can hide all the post content from this page? By doing this I will have for each post TITLE + line with number of the comments and the image.
https://www.ninserviziogratuito.co.uk/categoria/alloggio
Thanks :-)
MarcoMike,
This is… absolutely brilliant. It all perfectly works. Mission accomplished :-)Both Horizontal Gallery and Masonry go below the Related posts.
1) However, with the horizontal gallery I am having a little issue. The arrows at the sides of the gallery are not working properly. it is like if they are out of phase. I took a little video to explain it better https://www.screencast.com/t/ocYYHLVSj
2) How can I leave some space between the horizontal gallery and the blue circle of the comments? https://www.screencast.com/t/H35Uzvbn6GuE
Thanks,
MarcoHi Mike, I just added it. The point would be adding the text (whatever the text is) below the related posts.
Also, if you can tell me how to amend the PHP code so I can put below the related post also the horizontal gallery.
thanks,
MarcoThanks Mike,
All works well, many thanks, another question. How do I add a title OUR CATEGORIES above the masonry just put below the related posts?
And one more thing, what’s the PHP code I have to use to move the horizontal gallery below the related posts? (I will use that on desktop)
thanks, I appreciated this very much.
Marco
Yes yes yes,
Mike, the gallery goes below the related post in an exceptional way.I may stick on the masonry as you suggested.
How do I amend the PHP code you gave me in order to have the masonry going below the related post? and how to add a title to the masonry?
I have used this code for the masonry and it works. Is it the correct way?
/* Radius on masonry below related post */
.av-masonry-entry.av-masonry-item-loaded * {
border-top-left-radius: 20px 20px;
border-top-right-radius: 20px 20px
}Thanks,
Marco :-) :-)Hi Victoria.
Thank you for the suggestion.However, I already tried a few plugins and they do not do what I want to do.
I think we are now going far from the solution. I will check with you what I was checking with Mike.
What I need is very basic:
On a given default gallery
1) is it possible to give radiu to each picture?
2) how do I add a link to each picture? the solution provided by Mike above does not work as I do not have that screen on my default gallery.
3) The following sentence was given by Mike:: Typically the related posts at the bottom of a post are added automatically so to add anything under it could be done with jQuery, we would have to see the page to be able to assist with this.
Could you please help me to put this gallery just below the related posts?
This is the page where I am working with the gallery http://www.ninserviziogratuito.co.uk/13269
Thank,
MarcoHi Victoria.
Thank you for the suggestion.However, I already tried a few plugins and they do not do what I want to do.
I think we are now going far from the solution. I will check with you what I was checking with Mike.
What I need is very basic:
On a given default gallery
1) is it possible to give radiu to each picture?
2) how do I add a link to each picture? the solution provided by Mike above does not work as I do not have that screen on my default gallery.
3) The following sentence was given by Mike:: Typically the related posts at the bottom of a post are added automatically so to add anything under it could be done with jQuery, we would have to see the page to be able to assist with this.
Could you please help me to put this gallery just below the related posts?
This is the page where I am working with the gallery http://www.ninserviziogratuito.co.uk/13269
Thank,
MarcoHi Ismael,
thank you :-)2)
I have tried it but the result is the grid layout which is not what I want.
function avia_change_category_blog_layout($layout, $context){
if($context == ‘archive’) $layout = ‘blog-grid’;
return $layout;
}
add_filter(‘avf_blog_style’,’avia_change_category_blog_layout’, 10, 2);
——————————————————————————————————————————————————————————–I am using the advanced editor layout on archive pages, this is what I get at the moment (I have hidden some PHO code I was given earlier)
https://www.screencast.com/t/JpYgnpAQ This is a god layout but I would like to hide completely the content of the post3)
I tried this solution and I have obtained a new copy of related post and categories below the footer :-(I think this is not what a ws looking for. To be nice, this should stay just below the already existing related posts. I am leaving the code in the single post php in case you want to give it a look.
Also, I would like the category list to have a grid layout.
Not sure if this all is possible, you eventually let me know please Ismael :-)
thanks,
MarcoHi Victoria,
This plugin has been closed and is no longer available for download.
Unfortunately I will have to ask again if you can assist me with the previous request :-)
Thanks,
MarcoHi Mike,
no no, not like this :-)Just a solid background color. With not effects on hovering. Also the color will be not red but something not invasive, like a light grey.
Let’s then leave the background on a side, I see it is more complicated than I thought.Basically, this is what I would like to achieve https://www.screencast.com/t/9hpqavnRx9k
This specific layout of gallery will be visible only on mobile.
Also, it does not apply to all galleries in the website but only on this specific page
http://www.ninserviziogratuito.co.uk/13269So it will be a gallery on:
– 2 columns – in vertical
– rounded pictures
– pics linking to an URL
– gallery below the related posts (REMEMBER: all this only in mobile view)The desktop gallery will be instead an horizontal gallery similar to this https://www.screencast.com/t/rxV6yRvZTT8
Why am I trying to achieve this? because I am trying to show the categories also on mobile in order to make easy for a visitor to browse through categories and I thought creating galleries and customizing them would allow me to achieve this.
If you have another and better ideas please, let me know :-)
Thanks
MarcoHi Ismael,
I have not tried with an iframe but I solved by creating a new WordPress application. It was probably the quickest way instead of looking for an alternative solution for ages.Thank you for your suggestion anyway :-)
Hello Mike,
many thanks for your answer.
I am working with the default WordPress gallery (What I would like to achieve is something like this – https://www.screencast.com/t/X3k3aDQOFojN which I would like to put below the related post for each post as a default)
2 – 3) I tested it : I get background of the gallery red but not between the pics. And the radius is the radius of the container of the pictures, but does not give me the radius for each pic. https://www.screencast.com/t/Y1nhEkX8QJDX
2a) when I hover the mouse all is red.
3) I cannot find the option you gave me to add a link to each image https://www.screencast.com/t/aeENebWKDJvp
4) I gave you the login details ( the page is this https://www.ninserviziogratuito.co.uk/13269
5) Also I tried the portfolio size first (this is the size I get https://www.screencast.com/t/Y1nhEkX8QJDX ) and they I tried a smaller size 250 x 200 but they do not get smaller.
Much appreciated :-)
Marco
Hi Mike.
Yes please 😊Hi Victoria,
please, could you help me a little more?I wrote 4 points.
The 1st one is ok, I will test it.
The 2nd one, to which you answered, is not easy at all, in fact I wrote I have already changed the PHP file and the result is quite awful.
3) 3) About the categories, how can I show all the categories at the bottom of every post? You know the feature “you may be interested” >>> this is about posts a visitor may want to read. But I would like also to show all the categories at the bottom of each post. Maybe with a plugin? Any suggestion?
thanks
MarcoThanks, I think it is not possible to achieve that. You can close the ticket Victoria :-)
Hi Ismael,
not sure why, it is now working well. And still with the cache plugin on.A mystery :-)
Thanks for your help.
Marco
Hi Victoria,
1) masonry, I will test it again.
2) archive page, I had already read the post you indicated but I cannot manage to get the same. https://www.screencast.com/t/huto8iQt This is how I would like to get the archive posts- Featured pic (horizontal)
- Post title
- Breadcrumb
3) About the categories, how can I show all the categories at the bottom of every post? You know the feature “you may be interested” >>> this is about posts a visitor may want to read. But I would like also to show all the categories at the bottom of each post. Maybe with a plugin? Any suggestion?
regards,
MarcoHi Ismael,
It was related to this ticket as I have considered this issue related to the minifying of the HTML and CSS and as per our last conversation I had to let you know if I had any issues.
I understand what you mean by default image but I got the same result of the spanish flag even when I shared pages with other images.I will test it again and let you know.
Regards,
MarcoHi Ismael,
yes I did. I am using Chrome on Windows 10. And tested it on the mobile and also on Edge.
Login to the site please, un-hide the element I hide and see the results. You should see what I saw.
Thanks,
MarcoHi Victoria,
thank you for answering.Could you please point me out?
Is it something that I can achieve by myself?regards,
MarcoHi Rikard.
The page already exists on my site. But I would like it to show a different domain when the customer clicks on the link.Ok thanks 😀
-
AuthorPosts