Forum Replies Created
-
AuthorPosts
-
As part of the theme, Enfold provides the Avia Layout Builder and the Content Element called a “Code Block”. Shouldn’t I be using this? Is there any reference information on how to use it?
There are 5 options as part of the code block element. code content, code wrapper element and these check boxes for enabling options. Can you provide some guidance here on using the theme features?
I tried your suggestion and it works a bit. The code does not have the lines numbered and the formatting looks wrong.
Thanks.
The purpose of the code snippets is that I’m explaining in a blog article how to do something. An example of what I’m trying to do is here: https://devcentral.f5.com/articles/powershell-abcs-p-is-for-parameters . Its a blog article. I just want to add code snippets and explain them. How do I do this in the enfold theme?
I see. Thank you. I’ll try that.
Ok. That doesn’t make sense. Yigit said “simply changing “ue800” up to “ue804”. The icon_name and icon_label look like they are the same. I see “array( ‘font’ =>’fontello’, ‘icon’ => ‘ue800’);” so I don’t see where I would also change the icon_name and label. Are you saying by changing the code for the custom icon, this also changes these or I would have to make some additional change?
Thanks. I added the icon in the social profiles. When you said to change the code by changing “ue800” up to “ue804”, you mean change the line in the php function
Yes the fontello icons have already been added.
What steps did you take to solve adding custom social buttons? I don’t see where I change the icons on the website.
Adding the private info below. Please let me know when you made the change. I plan on disabling the account after you are done.
Yes. The icons have been imported.
I added the code snippet to the functions.php file and there’s no feature change in the enfold theme options page under the “social profiles” section. I still have to choose one of the pre-existing options. What is supposed to change? Can I switch the email icon for one I imported?
I watched the video however the site doesn’t explain what file to edit the php code. What file do I add that code snippet to?
-
AuthorPosts