Questions tagged [redux-framework]

A simple options framework for WordPress themes and plugins.

Redux Framework is a simple options framework for themes and plugins.

Redux Framework is open source, and the source code can be found on GitHub.

163 questions
3
votes
6 answers

How to include Redux Framework in Theme

How do I include Redux Framework in Theme wordpress? This code doesn't work:
2
votes
2 answers

How can I switch my template with get_template_part() according to my value in my Redux Framework options page?

I want to change the header-layout in my theme, according to the chosen style on the theme options page with the Redux Framework. I tried to use a variable in the get_template_part() function, but it doesn't seem to work. After that,I tried to use a…
2
votes
0 answers

I am facing an issue with Redux framework and qTranslate X

I am used to qTranslate X for multilingual WP site. But, I am facing a problem with Redux framework (for theme option) and qTranslate X. I found all language switcher button in theme option. But, when I put individual value for each language, then…
Kaizur
  • 159
  • 9
2
votes
2 answers

Redux Framework switch type

how to use redux framework switch type in wordpress themes? if ( $my_opt_name ) { do something } or if ( $my_opt_name === '1' ) { do something } or if ( $my_opt_name == '1' ) { do something } or if ( $my_opt_name == 1 ) { do something } or if (…
ShahePars
  • 125
  • 2
  • 14
2
votes
0 answers

Use Redux Framework in wordpress functions.php

I want to use some redux framework options in wordpress functions.php but i does not work. my functions.php:
bilimokur
  • 185
  • 10
2
votes
0 answers

How to check a value in nested array for Required Attribute for hiding a field in Redux Framework?

I want to disable the below section based on the value coming from sorter(hm-homepage-layout). I know that we can't pass nested array as an argument in the 'required' attribute array.. Is there any way I can hide the section based on the value…
Manohar
  • 41
  • 3
2
votes
1 answer

How to change redux options of select field type based on other field value?

My code is as below in redux $fields = array( 'id' => 'opt-select', 'type' => 'select', 'title' => __('Select Option', 'redux-framework-demo'), 'subtitle' => __('No validation can be done on this field type',…
Prashant
  • 139
  • 1
  • 8
2
votes
1 answer

Redux Framework - multi select with commas

I created a slider in wordpress and for ther transition effects I have used the select field of the redux framework. I checked the article here but Im not sure why is not working. below is the field that I have created in redux config …
user5247236
2
votes
2 answers

react, i18n, redux and react router configuration

Ive got a simple (at the moment) app that uses react-router and redux and I would like to add internationalization functionality to it. I have installed the npm package react-i18next and been able to install and run the example provided. I've added…
KerSplosh
  • 456
  • 9
  • 26
2
votes
1 answer

Can I return new copy of only part of a state object instead of the entire state object

I have the following initial state that consists of flat properties and one deep nested property searchStatus: var searchStatus = Immutable.fromJS({ requesting: { component: {tenants: false, platforms: false}, tenant: false, …
Max Koretskyi
  • 85,840
  • 48
  • 270
  • 414
2
votes
0 answers

What's wrong with this Array? giving me Invalid argument supplied for foreach() in functions.php

I am developing Wordpress Theme, i am using Redux Framework for getting user options. I want to create widgets dynamically according to which category user selected. These widgets will be shown in the category page on specific category front end…
JohnPep
  • 163
  • 1
  • 11
2
votes
2 answers

React-redux cross access state value

For last two weeks I have been working with redux and I'm facing an issue where I want to access/change a state value of another reducer. How can I achieve that? For example: I have two components 'A-Component' and 'Message-component' which has…
2
votes
2 answers

Redux Framework not working when used in plugin

I'm going to use redux framework for my plugin options, it is showing in admin panel and i can save the settings, I used the sample config file for option panel, So the problem is that i m not getting the option values by printing the global…
Noor
  • 45
  • 8
2
votes
1 answer

How to translate Redux Framework options

I am currently using the Redux framework embed in my theme. My theme only load the po and mo file using load_theme_textdomain but the translation doesn't seems to take effect for the options I created for the redux framework. Is there anything else…
Ryuka
  • 37
  • 3
2
votes
2 answers

Wordpress - Adding to Redux Theme Options using Child Theme

I am using a wordpress theme that has it's own framwork which is based upon redux framework I think. I am modifying this theme using a child theme. I want to add to the Theme Options in the backend and I found a function within the files of the…
wireless-g
  • 49
  • 2
  • 6
1
2
3
10 11