Saroj
Forum Replies Created
-
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Theme IntegrationTHIS CODE WORKS WELL FOR ME (for css/images issue)
require_once (TEMPLATEPATH . '/lib/plugins/option-tree/index.php'); define( 'OT_PLUGIN_DIR', TEMPLATEPATH . '/lib/plugins/option-tree'); define( 'OT_PLUGIN_URL', get_template_directory_uri() . '/lib/plugins/option-tree');
OK,Changed the name of widget .
that’s your widget taxonomy-widget.php
problem solved after editing plug-in codes.
Thanks Michaelchanging the code again works but not flexible
function get_query_var_name( $taxonomy ) { if ( $taxonomy === 'file_format' ) return 'fileformat'; if ( $taxonomy === 'category' ) return '?cat='; if ( $taxonomy === 'post_tag' ) return 'tag'; else return $taxonomy; }
if ( this.options[this.selectedIndex].value != 0 && this.options[this.selectedIndex].value != -1 ) { location.href = "{$url}/" + this.name + "/" + this.options[this.selectedIndex].value; }
created with the help of this plugin
changed to original link code,This time category taxonomy working well but other two custom taxonomies are nor rewriting the link structure
for File format taxonomy with fileformat slug fileformat/ai/normally works well.
same problem with License taxonomy with license slug
after changing back to original link code it gives /?file_format=ai which is not rewriting to at-least /file_format/ai/thanks for supporting Michael
Project Site Here i have changed the above link code , it gives ID something like this category/54 .I want to change that ID with category name like this one category/icons/
/%category%/%postname%/