• Resolved Mihail Semjonov

    (@muxahuk1214)


    Hey,
    I’v just found your plugin and tested it and there’s few things you can update and fix.
    ( it’s just a suggestions )
    1. You don’t have flush_rewrite_rules() function on plugin activation and as i can see you don’t have options uninstall from DB when plugin is deleted.
    When i 1-st time activated your plugin, added Wip and tryed to see it it gave me 404 page, becouse there was no flush and i had to go to settings and change permalink structure to default and back. Then it worked.
    2. You have custom template defined in plugin folder. You could make shortcode that will output everithing that your plugin should ( i.e content, images atc. ) after the content ( can be added with add_action( ‘the_content’ … ); you simply check if is your post type and add to content it ( $content = $content . do_shortcode(‘[yourshortcode]’) ).
    Why ? becouse whene i tryed to see Wip’s page it was broken comepleatly.. but if you use shortcode it woun’t be broken.

    For now that’s all what i’v found that can be improved.
    Hope my suggestions will be helpfull )

    http://wordpress.org/plugins/projector/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pierre Saïkali

    (@pskli)

    Thanks Mihail, I really appreciate your suggestions.

    For now I’m using filters and actions to update HTML structure, or you can simply copy/paste the /templates/single-msk_wip.php file in your theme to customize it the way you wan’t.

    Your content filter + shortcode is an option I’m thinking about, will be available soon.
    As you saw, it’s a very beta version for now, some tweaks and upgrades are needed obviously. I didn’t even take time to correctly present this plugin yet.

    I’ll work on that 😉

    Big thanks for your suggestions, keep me updated on your future thoughts !

    Cheers

    Plugin Author Pierre Saïkali

    (@pskli)

    Mihail, this tool is now a customizable responsive theme available on http://psaikali.github.io/msk-projector/.
    Enjoy !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘few suggestions’ is closed to new replies.