chittaranjan
Forum Replies Created
-
The issue was found to be something else. The main reason is when a new site is created, the default options
aioseop_options
of this plugin are not assigned to the new site. Expecting this to cause problem with the above hook to work. The moment I assigned the default options, the hook started working.if ( function_exists ( 'aioseop_mrt_mkarry' ) ) aioseop_mrt_mkarry();
I had use the above code when a new site is created. This plugin function
aioseop_mrt_mkarry
assigns all the default options to the site.Also there is another problem with these default options. Since these options are not assigned automatically, the columns for these seo data on pages and posts screens do not show up. Again after assigning the default values, the columns show up.
On the General Settings page of this plugin (of a newly created subsite), you will see many fields having values or checked. But if you check in the database the above
aioseop_options
does not exist. So the data you see on the settings page come from some default values not from database which it should be doing. This gives you a wrong feeling that the options exist but actually they do not. It gets reflected in the database only after I hit theUpdate Options
button.The above problem is not there on subsites which already exist before the plugin activation. The sites which get created after the plugin activation have problem as mentioned above.
Please let me know if any of the above points is unclear.
Thanks