Modify Genesis FAQ Plugin Shortcode Functionality via Child Theme

The code in this download file enables you to modify the entire default shortcode functionality included in the Genesis Simple FAQ plugin.

By default, the shortcode attributes generated by the plugin enables you to customize the display of F.A.Q’s using 3 parameters for i.d, category and limit only. The code in this tutorial enables you to add/modify any WP_Query parameters. Alternatively, you can this code to add custom shortcode attributes for use with specific shortcodes.

Note : If you want to modify the widget generated by the F.A.Q plugin, use this code instead. If you want a coded solution which doesn’t require a plugin, try these code snippets.

This method enables you to modify the PHP code from a plugin via your child theme without using filter functions and can be used to modify PHP functionality from any plugin in any child theme.

File Installation

There’s 2 simple steps :

Step 1 : From the download folder, upload the file to your child themes root directory.

Step 2 : Add the following line of PHP code to the end of your child themes functions file.

require_once( get_stylesheet_directory() . '/custom-shortcode.php' );

Register or login to access the download folder for members :

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.