Giter Site home page Giter Site logo

urosevic / head-footer-code Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 258 KB

WordPress plugin to easy add site-wide and/or article specific custom JavaScript/CSS/HTML code to head, body and/or footer sections (before the </head> or </body> and after <body>) by hooking to wp_head, wp_body_open and wp_footer.

Home Page: https://wordpress.org/plugins/head-footer-code/

License: GNU General Public License v3.0

PHP 97.38% SCSS 2.62%
wordpress wordpress-plugin

head-footer-code's People

Contributors

urosevic avatar

Stargazers

 avatar

Watchers

 avatar  avatar

head-footer-code's Issues

Invalid requests while saving settings

Your plugin is doing invalid POST requests to WordPress while saving settings with both 'HEAD Code' and 'FOOTER Code' set. The problem in POST request is that there are two 'action' parameters and two 'option_page' parameters, for example:

option_page=head_footer_code_sitewide_settings&action=update&_wpnonce=c22095e1e6&option_page=head_footer_code_article_settings&action=update&_wpnonce=9428c0e21f....

I have never seen such behavior in plain WordPress and also in any other plugin. This is, unfortunately, doing problems with various security tools like modsecurity, which is blocking such requests because there should be only one 'action' parameter.

Can you be so kind and look at this? Thank you.

Support for WooCommerce Product Categories

Feature request on plugin community forum:

I would need a WooCommerce global-category HFC, not category-specific HFC. I’ve seen that Post Categories do have the HFC available, but not for Product Categories.

link

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.