Sync now respects user's sync preference

Simply put, don’t sync if user choose not to sync
Prevent people from peeking

- Prevent user from directly accessing the file
- Prevent user to peek the dir by adding index.php
Adding class to post_class()

This will be useful for customized theming