April 17, 2013 at 1:05 pm #35989
We have Agency Theme and we would like to add the company address in the footer. We have used Simple Edits for
Back to top
Is the footer the right one to use? And if so, how is it possible to add that without "disturbing" the already existing footers line (looks like there is no more space...)
Thanks in advance.April 17, 2013 at 3:11 pm #36002
You can also use the Footer scripts in the Genesis > Theme Settings or a custom function:
Change the hook location if needed. http://genesistutorials.com/visual-hook-guide/
I suggest you create the HTML for your company address i n your WordPress editor and centre it there then simply paste the HTML between the opening and closing div tags in the code snippet above. This enables you to easily style the output of your HTML for your company address using CSS code in your child themes style.css file.
These are 3 locations you can choose from which you'll see in the hook map:
genesis_after_footer genesis_footer wp_footer
April 17, 2013 at 3:27 pm #36008April 18, 2013 at 12:22 pm #36173
Thank you. Appreciate your explanation but I cant simply get it to work. I tried all 3 of them to be on the "safe" side, but it did not work. Should it be something before the word function?
regards TonjeApril 18, 2013 at 7:24 pm #36259
Code works. Tested in again on your theme.
Copy the code from the raw view and add it to the end fo your child themes functions.php file.
Create the HTML or text for your company address in your editor and paste it between the div tags in the code.
Where exactly do you want to display yuour company address?
Take a screenshot and point an arrow to it.
April 22, 2013 at 2:10 pm #36950
Thank you so much, that worked. I have so little skills so I mange to put it in the stylesheet.
Now, the company address is finally there, thanks to your explanation.
TonjeApril 25, 2013 at 1:36 pm #37710
Its me again Brad,
I tried to do some more tweaks to the company information like adding color.
All of the sudden the site went down with this message: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/4/i/iexcelbooks/www/wp-content/themes/Archive/functions.php on line 115
Anyone knows how I can solve that error and to get the site up again? I am sure I by a mistake touched something else than the footer....
ThanksApril 25, 2013 at 11:20 pm #37782April 26, 2013 at 1:57 pm #37910
I guess I might have used a wrong editor (I pasted it at the end of the php....)
I will try again 🙂
You must be logged in to reply to this topic.