Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to include Redux Framework in Theme

How do I include Redux Framework in Theme wordpress?

This code doesn't work:

<?php
  if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' ) ) {
    require_once( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' );
  }
  if ( !isset( $redux_demo ) && file_exists( dirname( __FILE__ ) . '/ReduxFramework/sample/sample-config.php' ) ) {
    require_once( dirname( __FILE__ ) . '/ReduxFramework/sample/sample-config.php' );
  }
?>
like image 704
Hussien Elmaydome Avatar asked Jun 12 '26 13:06

Hussien Elmaydome


1 Answers

Spoiler alert, lead dev at Redux here. You could use the Redux Generator to get an admin folder and bypass some pain.

http://generate.reduxframework.com

After all, it's a free service. :)

like image 72
Dovy Avatar answered Jun 14 '26 06:06

Dovy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!