Forum Replies Created
-
AuthorPosts
-
Hello Guys,
Yesterday i updated my enfold theme and now i have the problem, that the” has catetegory function” do not work on my homepage. I will copy you the last 2 messages from me and from ismael, he fixed the problem month ago.
Me: Hey Ismael,
the categories technical magazine and encyclopedia should have another read more text. I have also included this in the code, but the changes are indeed in the categories, but not on the home page.
if( has_category(array(‘technikmagazin’, ‘lexikon’)) ) {
Ismael:
Hi,Thank you for the info. We added the post id paramter of the has_category function. It should be working properly now.
And than it worked. But since i updated the theme yesterday the function works not on the Frontpage (Homepage).
Please, cann you help me, that the function even works on the homepage again.
With best regards
Steps3011
Hey Ismael,
the categories technical magazine and encyclopedia should have another read more text. I have also included this in the code, but the changes are indeed in the categories, but not on the home page.
if( has_category(array(‘technikmagazin’, ‘lexikon’)) ) {
Best regards
Steps3011
Hello Ismael,
unfortunately he still does not realize the difference between the categories on the start page. There is still always the same read more text displayed, no matter which category it is.
I still found the has_category in the loop-index and tried to insert it in the loop page. Unfortunately without effect. I’ll send you a picture maybe you can do something with it from the looppage.php
Hello Ishmael,
unfortunately he still does not realize the difference between the categories on the start page. There is still always the same read more text displayed, no matter which category it is.
I still found the has_category in the loop-index and tried to insert it in the loop page. Unfortunately without effect. I’ll send you a picture maybe you can do something with it from the looppage.php
I’ve thought that through this 2 x $ readmore things that maybe can not distinguish and always takes only one read more text on the start page.
Best regards
Steps3011
Hello Ismael,
I have activated the editor in the theme so you can check it.
I still have the Has_category function in the category-template.php packed. Have it just taken out just to see if something changes, but unfortunately unsuccessful. The function is now in the folder again, even if it does not have to be there.
Many thanks for the help
Best regards
Steps 3011
Hello,
So I use on the start page, the grid layout with 3 columns and as an ad the blog posts. I’m not sure what you meant with content slider. I’ll send you my access data in the private field.
Thanks for your help.
Best regards
Steps 3011
Hello Ismael,
that worked with the code for the grid layout. (Thanks a lot)
Now there is only one more thing that does not work.Unfortunately, he does not use this if has_category function for the start page to differentiate the categories. There I will continue to see the same read more texts for each category. That’s the only thing missing, then it would be done.
Is there a folder where can I apply the homepage as well? That would be exactly how it should be in the end.
Best regards
Steps3011
Hello,
I have now tried a little and found out, that he translates the code as soon as I choose blog layout settings: use advance layout … Then he takes over the code and changes the read more text in the name i have chosen for the categorys. (Thanks for the code)Unfortunately, this is not true for the grid layout and not for the home page.
Do you have a suggestion as he also on the start page and the selected categories in the grid layout takes over?
- This reply was modified 6 years, 11 months ago by steps3011.
Hello,
thank you for the Code. I just have to know in wich template i have to put this code. In the Function or the Category-template?
I put the code in the category-template, but it diddnt takes an effect. I send you the image in the private content.Thanks
With Best Regards
Steps3011- This reply was modified 6 years, 11 months ago by steps3011.
Hello,
I looked at the link with has_category, but I do not understand it. Could you possibly give an example for my category: Encyclopedia?
In which file do I write something to use a text for each category?
I think so, then I grab that too.Best regards
Steps3011Hey Guys,
In the link below you can see a picture with two different articles from two different categories, but the same label of the Read more button “Now for sale”. On the left is a so-called deal from the category “consumer electronics”. On the right side you can see an article from the category “Technik-Magazin” and also there the “read more button” is labeled with “Now for sale”. And I would like to have all articles from the categories “Technology Magazine and Lexicon” labeled “Continue to Article” and not “Now for sale”.
I tried using the custom fields with WordPress, but it did not work.
Best Regards
Steps 3011
Hey Victoria,
1.Different designations of the Read more ButtonsOn another topic from another user i saw this:
https://kriesi.at/support/topic/customize-read-more-buttons/Is it possible to do this in this way? I tried, but i failed, because i didnt find the row in my archive.php. So it didnt works.
2. Different Sizes of The tiles/ Images for diffent Type of Categories in my Website (deals vs. Practical Adviser)
I thought there is a code or something in the index oder function.php, thats breaks the pattern of the blog layout on the frontpage, like:
if post id:14, make image size on frontpage 1200 x 400 px.
Best regards
Steps 3011Hello Ismael,
I have an example for you, in this page there is a difference between a Deal and a practical adviser tile. The Buttons have different designations. And also the Size of the tiles are different. How can i manage it like this on my site?1. Different designations of the Read more Buttons.
2. Different Sizes of The tiles/ Images for diffent Type of Categories in my Website (deals vs. Practical Adviser)Best regards
Steps3011Hey Günter,
sorry for my late answer and a happy new Year.I didn`t get it, because i use the excerpts and i have already changed the read more button and just need an individual Text for different type of posts. Is it possible to do this, when im using the excerpts or is it just possible with the read more tag to make it individual? Iam sorry, but i didn’t understand how to do it, even when im reading the information in the link you sent me in your answer.
I have a other question which is very important to me.
On my homepage http://www.technikolymp.de i’m using the blog grid layout with 3 columns. I have different articels on my website with hot deals and articels with only informations. Is it possible to change the sizes of the images in this blog layout? Example:
3 Images are 450 x 400 in a three column grid with blog layout. Now i release a new information article and the image should be the same size as the three images below. Like its just one grid. And above this article there are 3 images with 450 x 400 px. Is this possible with the blog layout?
I hope that you understand my question, because my english isn’t very good.
Nice Greeds
Steps3011
Hey Mike,
Im Sorry for my late answer.
I do not find the robots.txt. In wich Folder i can find the robots.txt?I have another Question too.
I described my category “Haushaltsgeräte” with a long text. But the text should be Displayed under the last posts. In the Archive pages i made id, but i do not find the folder and the code, to change it like on the archive sites.
I will give you two exmaples. The first one is how it should looks and the secound one should look like the first one.
With Best regards
Steps 3011
Hello,
yes , the Blog post Description is not to be Display anymore. But i have a really big trouble now with the text Block. Iam using the Plugin called “Tiny MCE Advanced”. Normally i can see the full options of the Plugin in the text Block Modus from avia Layout editor, but now nearly anaything is away. All The options that come with this Plugin are away, but only in the avia layout editor. In the normal write mode they are still there. But sometimes i really need to use the avia layout architeckt/builder.
Can you help me?With Best Regards
Steps3011 -
AuthorPosts