GithubHelp home page GithubHelp logo

Comments (6)

olefredrik avatar olefredrik commented on July 28, 2024

Hello Adrian.

Thank you for the nice words! It sounds like a good idea to add more hooks, if it makes things easier for child-theme users. Are there any negative side effects by adding more hooks in the template files? If you have the time and opportunity to do something about this, feel free to open a pull request. I'll definitely look into it. :-)

Cheers!
Ole Fredrik

from foundationpress.

PixelbarEupen avatar PixelbarEupen commented on July 28, 2024

Hello Ole,

nice! I can't see any disadvantages or negative side effects of using own hooks. They just make the theme plugin and childtheme friendly :-)
I will definitely do something about this.

Adrian

from foundationpress.

manwithacat avatar manwithacat commented on July 28, 2024

I was about to start adding in some custom theme functions [and it's great that there are already loads of do_action() statements available] when I noticed this plugin:

Easy Foundation Shortcodes

It works really well with FoundationPress [disable the plugin JS/CSS and use the theme versions].

from foundationpress.

PixelbarEupen avatar PixelbarEupen commented on July 28, 2024

It seems that there are only do_action hook statements coming from the Wordpress Core. I just grepped for do_action in this foundationpress theme and just found one in the comments.php

It might be right that your easy foundation shortcodes plugin works as it should but I try to avoid using 3th-party plugins.

from foundationpress.

olefredrik avatar olefredrik commented on July 28, 2024

e0e9f8a

from foundationpress.

violacase avatar violacase commented on July 28, 2024

I'd like to see a webpage with an overview of the actual hooks implemented in FP. I'm scanning php files now to get an idea. Not so user friendly.

from foundationpress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.