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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.