How can I add a section between content and footer?

edited January 2019 in Other
Hi Be Theme specialists,

I've just bought and set up the Be theme on my website https://bit.ly/2Tw4QFy using an import of the settings from a pre-built website, that I'm currently individualizing.

The theme is working excellent, but I'm struggeling with 2 issues:

a) How can I add a section between the content-area and the footer (exactly: at the very end of every content area) where I can add PHP code?
b) How can I addd a 'buy now button' to my responsive menu like in the pre-built website https://themes.muffingroup.com/be/cryptocurrency/?

I simply didn't find a solution for those issues, so I thought, that you might be able to help me?

I'm really looking forward to hearing from you.

Best regards
tschiummm

Comments

  • Hi,
    a) All of the custom codes should be pasted in the Theme Options > Global > Hooks

    b) It's the Action Button.
    Please go to Theme Options > Header & Subheader > Extras and fill the text boxes of  Action Button section.
    But, you have to turn off the "Hide" option there too.

    Thanks
  • Hi Pablo,

    thanks a lot for your reply! The 'Action Button' is working fine!
    Unfortunately, I can't execute PHP within the Hooks section. Is there a trick to enable PHP there?

    Best regards
    tschiummm
  • And: Is there a possibility to place a hook before the end of the content section?
  • Other place(and the last) where you can paste custom codes is in the Theme Options > SEO
    The end of the content section, you mean before the closing </body>, right?
    There is such a place  - Google | Remarketing field.

    Do not be worried to paste the code there - it's not created for the Google | remarketing code only.
    It's just tip for customers, where they should paste it.
    Thanks
  • edited January 2019
    "The end of the content section, you mean before the closing </body>, right?"

    1. No. I mean 'BEFORE the closing </#Content> tag'. Do you know a solution for that?
    2. Why isn't PHP executed within the hooks? Is this standard or do I have to change the server settings (e.g. php.ini) for that?
    Best regards
    tschiummm
  • Unfortunately, changing the server settings will not change anything.
    You have to edit theme files, but we do not support it.

    I suggest you, to install the Child Theme of BeTheme and then start to customizing/adding new content to BeTheme.
    If you won't install a child theme, then all of your changes of theme files will be removed while updating the theme.
    All about Child Themes here:

    Thanks
  • 'I suggest you, to install the Child Theme of BeTheme and then start to customizing/adding new content to BeTheme'

    I see. If I install a child theme, will my current settings & modifications be transferred to this child theme?
    I have to be careful that I don't start from the beginning again ... ;-)

    Thanks a lot in advance for your reply!

    Best regards
    tschiummm
  • All of your settings are stored in the database, so you won't lose any settings of theme options or content from muffin builder.
    Thanks
  • Thanks a lot! That's working excellent!
Sign In or Register to comment.