-
AuthorPosts
-
April 20, 2018 at 3:08 pm #944599
I’m wondering if it’s possible to change the hard-coded “All” title on the portfolio page when using multiple categories.
This is the page on the site I’m currently working on that I’m talking about: http://bbf.4c0.myftpupload.com/featured-projects/
I looked in the theme options but couldn’t find where to make that change, I’m guessing the CSS need to be edited.
April 20, 2018 at 4:33 pm #944622insert this to your functions.php of your child-theme
add_filter('avf_portfolio_sort_first_label','new_first_label'); function new_first_label() { $first_item_name = "smething-you-like-instead-of-all"; return $first_item_name; }
if you have different pages with different “All” settings you must use if-clauses
Edit: Aha – seems to work not any more- i have a look if this filter exists anymore
- This reply was modified 6 years, 9 months ago by Guenni007.
April 20, 2018 at 4:50 pm #944632I’m not using a child theme. Is there a way to add some CSS to them theme options to make this happen?
It sounds like you’re saying the original code you sent over doesn’t work, is that correct?
April 20, 2018 at 5:00 pm #944634that is the code here on board which normaly is used to do this. But i tried a few seconds ago.
But i’m working on a German WordPress with Enfold maybe this only goes with editing the lang files.
I guess the substitution is made but the translation to german is the same.
So i suppose that on english sites this will work perfect – the filter still exists in enfold.April 20, 2018 at 5:03 pm #944637So if I want to add this to the theme, but I’m not using a child theme, where should I add that code?
April 20, 2018 at 5:31 pm #944651get familiar with child-theme it is so easy and nearly all snippets to adjust something in Enfold are for child-theme use.
https://kriesi.at/documentation/enfold/using-a-child-theme/April 20, 2018 at 5:50 pm #944661Got it, thanks, I’ll give it a go.
April 20, 2018 at 5:51 pm #944662Once I have the child theme installed, is there a specific place in the functions.php that I need to insert the code you provided?
April 20, 2018 at 6:18 pm #944683Hi,
You should be able to place it at the very bottom.
Best regards,
Jordan ShannonApril 20, 2018 at 8:54 pm #944749I can’t seem to locate the child theme file to upload. I’ve downloaded the Enfold package from Themeforest and it’s not in there. Is there somewhere else I should be looking?
April 20, 2018 at 8:59 pm #944751Hi,
When you go to Appearance > Themes, do you see an Enfold Child Theme that can be activated?
Best regards,
Jordan ShannonApril 20, 2018 at 9:11 pm #944759I don’t, all I have available is the main Enfold theme. I wonder if I deleted it accidentally when I removed the other free WordPress themes. Does it install a child theme option when the main theme is installed?
April 20, 2018 at 9:15 pm #944760Hi,
Yes you should see a child theme available. Can you try and install a fresh copy?
Best regards,
Jordan ShannonApril 20, 2018 at 9:18 pm #944762Let me give that a go…
April 20, 2018 at 9:20 pm #944763It doesn’t seem to like that. Do I need to delete the theme and reinstall? I have a bunch of custom CSS that I don’t want to lose as well as the site about 95% built.
April 20, 2018 at 10:18 pm #944775Hi,
Please provide admin info if possible so we can log in and look into this further.
Best regards,
Jordan ShannonApril 21, 2018 at 10:19 am #944866you have downloaded that predefined child-theme by Kriesi (link above) http://bit.ly/enfold-child
Upload that best is ftp to the themes folder.
After that it should be shown in Appearance – Themes.
Here you can activate it – goto your Enfold-child – Options page – Import/Export and import the parent theme settings.if there is something misssing you alway can reactivate Enfold make some backups ( f.e. the same page but Export Theme Settings File)
April 23, 2018 at 7:18 pm #945485Hey evertypedesign,
Was the latest suggestion able to help you?
Best regards,
Jordan ShannonApril 23, 2018 at 7:21 pm #945488Hey Jordan,
My apologies for the delayed response. I’m going to let the site back up tonight, then try the method Guenni007 sent in the message just before your latest above. I’ll let you know if that doesn’t work and send over some admin credentials for you guys to dig deeper in needbe.
Thanks again!
April 23, 2018 at 8:06 pm #945528Hey evertypedesign,
Great! Please keep us updated.
Best regards,
Jordan ShannonApril 24, 2018 at 2:59 pm #945956Jordan,
I noticed there was an update to the theme this morning, so I activated a basic WordPress theme, deleted the old theme thinking a new install would add the child theme option back in (I tried simply running the update but it gave me an error), then downloaded and installed the new 4.3 version of the theme. But I still don’t see where I can activate the child theme.
I found this page that talks about installing a child theme, and there’s a download link there, but I’m not sure if it’s the most up-to-date and I don’t want to install an old version of the child theme over the new version of the main theme: https://kriesi.at/documentation/enfold/using-a-child-theme/
I’ve provided login credentials in the Private Content area if you’d like to get in and have a look. Thanks!
April 24, 2018 at 3:00 pm #945957Sorry, I got an error when I hit submit on the last message so I’m not sure if the Private Content came through, here it is again just in case.
April 26, 2018 at 4:51 am #947061Hi,
You can use the the child theme files from the link above. It doesn’t matter what version it is because it’s practically an empty folder. After uploading the child theme in the wp-content > themes folder, go to the Appearance > Themes panel and follow the instructions from the documentation.
Best regards,
IsmaelApril 26, 2018 at 2:09 pm #947278Got it, thanks, I’ll give it a try.
April 26, 2018 at 6:14 pm #947386i think if you got a translated WordPress like me (german) this will not work as expected because the english version is changed but translation will be the same “Alle” on German – so i had to change the lang files in this case.
-
AuthorPosts
- You must be logged in to reply to this topic.