Changeset 1646278
- Timestamp:
- 04/27/2017 06:30:21 AM (9 years ago)
- File:
-
- 1 edited
-
view-my-posts-alone/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
view-my-posts-alone/trunk/readme.txt
r1646259 r1646278 55 55 = How to add this plugin for the Custom Post Type including Normal Post types?= 56 56 57 We have to make up the seperate condition in the plugin\'s core file. In the (view_my_posts_alone.php) . There will be a IF condition with this line if (strpos( $_SERVER[ \'REQUEST_URI\' ], \'/wp-admin/edit.php\' ) !== false). You have to add the OR Condition and add as much as CPT that you need.58 (E.g) if (strpos( $_SERVER[ \'REQUEST_URI\' ], \'/wp-admin/edit.php\' ) !== false || strpos( $_SERVER[ \'REQUEST_URI\' ], \'/wp-admin/edit.php?post_type=[YOUR-POST-TYPE-SLUG-GOES-HERE]\' ) !== false).57 We have to make up the seperate condition in the plugin\'s core file. In the (view_my_posts_alone.php) . There will be a IF condition with this line if (strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false). You have to add the OR Condition and add as much as CPT that you need. 58 (E.g) if (strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false) || if (strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php?post_type=[students_corner]' ) !== false). 59 59 60 60 = Does this plugin conflict with any other plugins that we have installed in our blog? =
Note: See TracChangeset
for help on using the changeset viewer.