Skip to content

Commit

Permalink
Merge pull request #90 from mooore-digital/develop
Browse files Browse the repository at this point in the history
Release v0.10.3
  • Loading branch information
GrimLink authored Jun 29, 2022
2 parents e8ac006 + aaa1635 commit d436ba4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.10.3] - 2022-06-29
### Fixed
- **Possible breaking change** unwanted removal of page title for blog pages
- Missing build for newly added block support for `posts-list`

## [0.10.2] - 2022-06-27
### Fixed
- Fixed a bug where all URLS were parsed, changed for only hrefs
Expand Down
3 changes: 2 additions & 1 deletion view/frontend/layout/cms_wp_content.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<page
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
layout="1column-wp">
layout="1column-wp"
>
<head>
<css src="Mooore_WordpressIntegrationCms::css/wp-blocks.css"/>
</head>
Expand Down
15 changes: 6 additions & 9 deletions view/frontend/layout/wpci_blog_view.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column-wp" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<page
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
layout="1column-wp"
>
<update handle="cms_wp_content"/>

<referenceBlock name="page.main.title" remove="true" />

<referenceContainer name="content">
<block
class="Mooore\WordpressIntegrationCms\Block\WordpressContent"
name="blog.content"
template="Mooore_WordpressIntegrationCms::blog/post.phtml"
/>
<block class="Mooore\WordpressIntegrationCms\Block\WordpressContent" name="blog.content"/>
</referenceContainer>
</page>
3 changes: 2 additions & 1 deletion view/frontend/page_layout/1column-wp.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0"?>
<layout
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd"
>
<update handle="1column"/>
<!-- Replaced page-main class with page-main-wp for full-width layout -->
<referenceContainer name="main.content" htmlClass="page-main-wp page-main-full-width"/>
Expand Down

0 comments on commit d436ba4

Please sign in to comment.