Linux 软件免费装
Banner图

Plugin Name

开发者 nathanrice
studiopress
更新时间 2023年8月8日 00:25
捐献地址: 去捐款
PHP版本: 4.7.2 及以上
WordPress版本: 6.3

标签

hooks genesis studiopress genesiswp

下载

1.8.0 0.9 1.2 1.3.1 1.3.1.1 1.4 1.6 1.7.1 1.8.0.1 1.8.0.2 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0

详情介绍:

This plugin creates a new Genesis settings page that allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework, from StudioPress. Instead of the sometimes tedious and unfamiliar process of creating functions in your theme files, this plugin gives you an attractive, easy to use interface for modifying your Genesis theme via the hook system. The plugin accepts HTML, Shortcodes, and PHP and gives you access to all 50+ hooks built into the Genesis theme, and a few built-in WordPress hooks as well.

安装:

  1. Upload the entire genesis-simple-hooks folder to the /wp-content/plugins/ directory
  2. DO NOT change the name of the genesis-simple-hooks folder
  3. 通过 WordPress 的“插件”菜单激活插件
  4. Find a hook that you'd like to use (they're grouped together logically)
  5. Insert the code you'd like to execute on that hook
  6. Choose whether or not to execute Shortcodes and PHP on that hook
  7. Save the changes

常见问题:

What are Shortcodes?

Check out the Shortcodes API for an explanation.

My PHP isn't working

Make sure the checkbox that says "Execute PHP on this hook" is checked. If so, be sure to wrap any PHP code in <?php ?> tags. That's how the system recognizes code that needs to be executed as PHP.

The plugin won't activate

You must have Genesis or a Genesis child theme installed and activated on your site.

更新日志:

2.3.0 2.2.1 2.2.0 2.1.2 2.1.1 2.1.0 2.0.1 2.0.0 1.8.0.2 1.8.0.1 1.8.0 1.7.1 1.6 1.4 1.3.1.1 1.3.1 1.2 0.9 0.1