For my currently work-in-progress-theme, I want to display posts with post templates different in the blog view. For that, I add the name of the post template to the post_class()
output via the post_class
filter. This post shows you how to get this working.
Blog
WordPress weekly recap #13: new plugin directory and more
At this week, the new plugin repo was released. One new aspect is that it runs on WordPress instead of bbPress, which was used before.
Continue reading "WordPress weekly recap #13: new plugin directory and more"SASS function for calculating line height without unit
This post shows you a SASS function, which calculates a line height without a unit. Origin of this action was that I no longer wanted to use rem
.
WordPress weekly recap #12: clarifying wording of some theme review guidelines and more
The theme review team discussed a few review guidelines, to clarify the wording of them — for example, the copyright links and child theme name guidelines.
Continue reading "WordPress weekly recap #12: clarifying wording of some theme review guidelines and more"Switch WordPress from utf8 to utf8mb4 retrospectively
The WordPress 4.2 upgrade changed the database character set from utf8
to utf8mb4
(for example necessary for full emoji support) if a few requirements were met. This article shows you how to make the switch manually if you did not meet the requirements at the time of the WordPress 4.2 upgrade.
WordPress weekly recap #11: browser support for the editor and more
The current state of browser support for the new editor is that older browsers are not explicitly supported, but a fallback in the form of a text area will be provided. The current editor will be provided as a plugin.
Continue reading "WordPress weekly recap #11: browser support for the editor and more"WordPress multisite with a mix of subdomains and subdirectories
While setting up multisite, you decide to use either subdomains or subdirectories — mixing both in one multisite is not possible without modifications. This post shows you how to run a multisite with subdomains and subdirectory sites. Continue reading "WordPress multisite with a mix of subdomains and subdirectories"
WordPress weekly recap #10: WordPress 4.7.3 and more
The recently published WordPress version 4.7.3 fixes various bugs and six security issues.
Continue reading "WordPress weekly recap #10: WordPress 4.7.3 and more"WordPress weekly recap #9: browser support of the new editor and more
The editor team thinks about which IE versions the new editor should support, and which fallback should be provided to users with non-supported browsers.
Continue reading "WordPress weekly recap #9: browser support of the new editor and more"Let images go beyond the content area
If you insert images into a post or something similar, in most cases, they will have the maximum width of the text content. If the pictures are good, it can be cool to let them go beyond the width of the content area, for example from one border of the browser to the other in a one-column layout. This post shows you how to make this happen — as well in one-column as sidebar layout.
Continue reading "Let images go beyond the content area"