Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probleme with multiple ReduxFramework Plugin #1175

Closed
22Codes opened this issue May 5, 2014 · 9 comments
Closed

Probleme with multiple ReduxFramework Plugin #1175

22Codes opened this issue May 5, 2014 · 9 comments

Comments

@22Codes
Copy link

22Codes commented May 5, 2014

Hello!

I have included ReduxFramework with my own Theme I love it . but if I use ReduxFramework on my Plugin Option panel of Theme will Hide and option panel Of Plugin will show Ineed to Show the two option panels on same Time .Please Help Me

@kprovance
Copy link
Member

I'm sorry, but I don;t understand what you are asking. Please review this first and try again: https://github.com/ReduxFramework/redux-framework/blob/master/CONTRIBUTING.md

@22Codes
Copy link
Author

22Codes commented May 6, 2014

Hello !
Thank you for reply

1- I have created new theme using ReduxFramework .
I can Use Option panel To Change Evrything on my theme .

2- I have created new plugin using ReduxFramework .
I can Use Option panel To Change Evrything on my plugin .
The problem :

If I use The plugin on my website .
Option panel of my theme Disappear and Option Panel Of plugin Show

If I disable The plugin

Option panel of my theme Show again

Please check Attached Pictures :

Theme Option Panel :
theme

Plugin Option Panel :

plugin

Sorry For My Bad English
Thanks & Regards

@dovy
Copy link
Member

dovy commented May 6, 2014

Are you using the same opt_name? Did you change the menu order?

@dovy
Copy link
Member

dovy commented May 6, 2014

What you should do instead is just use hooks if you want it all in the same panel (which I am pretty sure you want).

@22Codes
Copy link
Author

22Codes commented May 6, 2014

No I use different opt_name Like this :

Theme :

'opt_name'          => 'wpdev_fes',

Plugin :

'opt_name'          => 'idoa_topbar',

I need to use plugin with own opt panel & theme with own opt panel not in the same panel

Thanks & Regards

@kprovance
Copy link
Member

Don't forget to change the page_slug as well.

@22Codes
Copy link
Author

22Codes commented May 7, 2014

I have Changed It But Same problem

Theme :

'page_slug'         => 'wpdev_options',

Plugin :

'page_slug'         => 'idoa_options',   

@22Codes
Copy link
Author

22Codes commented May 7, 2014

Hello!

Thanks for Help I Find the probleme and fixed it

Fixed problem :

I change :

Redux_Framework_sample_config

To Other Name on 3 places on Sample config file

Number 1 on Line 7 :

if (!class_exists('Redux_Framework_sample_config')) {

Number 2 on Line 9 :

 class Redux_Framework_sample_config {

Number 3 :

$reduxConfig = new Redux_Framework_sample_config();

fixed

Thankyou Very Much For ReduxFramework & For Support I will Donate Soon

Thanks & Regards

@kprovance
Copy link
Member

Glad we can help.

If you like Redux, please leave a review: http://wordpress.org/support/view/plugin-reviews/redux-framework

Also please like us on Facebook: https://www.facebook.com/ReduxFramework

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants