Skip to content
#

WordPress

wordpress logo

WordPress is a popular content management system, used for websites and blogs. WordPress is written in PHP and MySQL and is designed to be flexible and user-friendly.

Here are 16,153 public repositories matching this topic...

gutenberg
DeveloperWil
DeveloperWil commented Oct 10, 2021

What problem does this address?

When using the categories block in the block editor, by default it hides categories that have no associated posts (empty categories).
There is no block setting to override this default behaviour.
I want the option for the Categories block to show all categories in WordPress or to hide empty categories.

What is your proposed solution?

Add a "Hide Empty"

timber
interludic
interludic commented Oct 31, 2018
  • Corcel Version: "jgrossi/corcel": "2.5.*",

  • Framework Name & Version: "laravel/framework": "5.5.*",

  • PHP Version: 7.1

Description:

Cant find model... for

// clean and simple all posts from a category
$cat = Category::slug('uncategorized')->posts->first();
$cat->posts->each(function($post) {
echo $post->post_title;
});

osullivanchris
osullivanchris commented Jul 13, 2021

I was testing the site creation flow on Android landscape.

When you get to the last step 'Site created':

  • the preview is on the left
  • the title and action is on the right
  • however the title and action are centred to the preview, and get cut off screen
  • I think they are probably meant to be centred to the screen, rather than the preview, so that they appear next to the preview above the
frontity
codemonkeynorth
codemonkeynorth commented Jun 25, 2021

Expected behavior

itemProp, itemScope and itemType should be created on elements

Observed behavior

javascript error for itemprop, itemscope and itemtype on html elements

Steps involved to reproduce the problem

add eg <span itemprop="telephone">999</span> to some HTML content in the database and run Html2React on it

Possible solution

add the follow

amp-wp
westonruter
westonruter commented Apr 8, 2021

Bug Description

On an AMP-first site I ran across the following amp-img:

<!--noscript-->
<amp-img height="1" width="1" alt="fbpx" src="https://www.facebook.com/tr?id=413752866132374&amp;ev=PageView&amp;noscript=1" class="amp-wp-enforced-sizes amp-wp-6a19fc1 i-amphtml-layout-intrinsic i-amphtml-layout-size-defined" layout="intrinsic" data-amp-

Created by Matt Mullenweg, Mike Little

Released May 27, 2003

Organization
WordPress
Website
wordpress.org
Wikipedia
Wikipedia