Wp-query and column blocks

The new block editor gives lots of possibilities to arrange information inside one post. What you are asking for is the arrangement of multiple posts. That’s not a task for the block editor but for the theme. So, for your question: it depends on the theme whether this is possible. If you are designing your … Read more

Undeletable column in Posts

WordPress does not could post views, and never has. This has to be added by a plugin or your theme to appear. Even if the counts remain in the database after deactivating the responsible theme or plugin, the column could not appear without the it being active. Make sure you’ve deactivated every plugin, even if … Read more

how can sort my column

Your columns are in an array. PHP has a few options you can use depending on how you want to sort the array (low to high, high to low, etc.). Here is the documentation for that. https://www.php.net/manual/en/array.sorting.php

Create a trailing block with programatically generated Gutenberg columns

I’ve currently “solved” this by backfilling with empty divs: $array_chunks = array_chunk($array_of_posts, 3); foreach($array_chunks as $posts) { echo ‘<div class=”wp-block-columns”>’; foreach($posts as $post) { echo ‘<div class=”wp-block-column”>’; // entry echo ‘</div>’; for ($i = 0; $i < ( 3 – count($posts)); $i++) { echo ‘<div class=”wp-block-column”>’; echo ‘</div>’; } } echo ‘</div>’; } But that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)