Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the layout themes and create 1 layout file as include #55

Closed
johnstray opened this issue Feb 8, 2015 · 1 comment
Closed

Remove the layout themes and create 1 layout file as include #55

johnstray opened this issue Feb 8, 2015 · 1 comment
Assignees
Milestone

Comments

@johnstray
Copy link
Owner

Remove the multiple included themes and have instead just one included layout file which will be moved to the 'inc' directory and can be modified accordingly from there.

Solves a random theme loading bug for new installations that was found during testing.

@johnstray johnstray self-assigned this Feb 8, 2015
@johnstray johnstray added this to the Version 3.3.2 milestone Feb 8, 2015
@johnstray
Copy link
Owner Author

Two layout files will be created: layout-post.php and layout-list.php.

layout-post.php - For the display of individual posts.
layout-list.php - For displaying a list of posts.

johnstray pushed a commit that referenced this issue Feb 10, 2015
johnstray pushed a commit that referenced this issue Feb 13, 2015
Placing the layout files in the 'inc' folder caused them to be
automatically included at load; this caused a multitude of PHP errors.
Layouts have been moved to the root plugin folder to fix this issue and
to make them easier to access for modifying.

Update to #55.
johnstray pushed a commit that referenced this issue Feb 15, 2015
Update to #55

This function is no longer required because the option to choose between
themes has been removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant