New Front EN › Support Forums › Ikebana Theme Support › Masonry layout doesn't work
- This topic has 24 replies, 2 voices, and was last updated 10 years, 9 months ago by satori.
-
AuthorPosts
-
December 9, 2013 at 2:21 pm #2061NagytalpParticipant
Hello Andrii,
The project title not displayed above the featured image at this moment on single project page. I added the get_the_title to the single -project.php but the result is two featured image.
2nd.: Thats exactly what I need! But I don’t know the code. :-)
December 9, 2013 at 8:14 pm #2063satoriKeymasterHey Csaba,
I will use the same order for the answers as before:
1). Please excuse me, yet I’m still not sure I understood what exactly you are trying to achieve. Do you want the thumbnails (i.e. featured images to display below the titles for single portfolio projects?
2). The template function you need is “get_the_terms”; you can read more about it on the official WordPress website here.
Sincerely,
Andrii / Satori StudioDecember 10, 2013 at 12:57 pm #2064NagytalpParticipantHello Andrii,
1st.:
Please take a look on my site:
http://www.irodalmibableves.hu/project/ljudmila-ulickaja-corvin-moziban-dedikal/
This is an single project. The title not working. What You can see now is the result of the get_the_excerpt, before the featured image.
The “Hide page titles on pages” in the Theme Options is unchecked.2nd., Thanks for this, the code works but I don’t know the perfect parameters. The result is an “Array” title.
Best wishes, Csaba.
December 10, 2013 at 8:31 pm #2065satoriKeymasterHey Csaba,
regarding the questions:
1). Alright, now I think I understand the situation, yet I cannot say anything meaningful without seeing the source code; I will need to ask you for admin login and password for this (you can send the information on my email: support@satoristudio.net).
2). The get_the_terms function returns an array of term objects; please see the first usage example on the official WordPress page I mentioned above on how to use the function.
Sincerely,
Andrii / Satori StudioDecember 10, 2013 at 9:04 pm #2066NagytalpParticipantHello Andrii,
1.) I sent the informations
2.) In this case the ‘on draught’ is the tagportfolio?
December 11, 2013 at 10:45 am #2067satoriKeymasterHey Csaba,
1). I’ve checked the situation and it seems that you’ve a third-party plugin installed that does this. The “Mav Menu Images” plugin replaced the project titles in H1 tags with project thumbnails – not only in the menu, as it should, but also in the content, for some reason.
2). The function accepts taxonomy slugs, which is why in this case the second argument should be “tag-portfolio”.
Sincerely,
Andrii / Satori StudioDecember 11, 2013 at 11:05 am #2068NagytalpParticipantHyper Thank You Very Much!
It seems I need to find another way to change the “Home” menu item to an Home Icon.
December 11, 2013 at 11:30 am #2072satoriKeymasterHey Csaba,
Well, you could just do it with some CSS, for example:
#nav-primary ul li:first-child {
height: 50px;
width: 50px;
background-image: url('http://www.irodalmibableves.hu/wp-content/uploads/2013/11/home-e1385070240640.png');
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 30px 30px;
}
#nav-primary ul li:first-child a {
visibility: hidden;
}
You can of course replace the URL with any other image you need, I just used the one found in your media library ;)
Sincerely,
Andrii / Satori StudioDecember 17, 2013 at 5:23 pm #2148NagytalpParticipantHello Andrii,
1., Thank You for the css code it works but how can I add the home link for this?
2., I tried to add the get_the_terms code from the WordPress Function/Reference tutorial and from other sources but no one works.There is no any easy code which I just injects to the content.php?
Best wishes, Csaba.
December 17, 2013 at 7:38 pm #2150NagytalpParticipantSorry for my late night nightmares before Christmas but how can I remove the complete “website” field from the comments template?
I found and uncommented the placeholder but this clear only the name of the filed.
-
AuthorPosts
- You must be logged in to reply to this topic.