WordPress Development Stack Exchange Community Digest

Top new questions this week:

How to shutdown wordpress login temporarily

How can I disable wordpress login temporarily even for administrator users? is there any solution?

login  
asked by ali Score of 1
answered by Bysander Score of 3

list/consult Taxonomy only for the respective author/creator in dashbboard

I'm trying to filter so that only the creators of the respective categories can edit them. I created a cat_author meta field and associated it to the taxonomy. In this way, every taxonomy has an ...

customization custom-taxonomy custom-field advanced-custom-fields  
asked by naber brene Score of 1
answered by Sally CJ Score of 1

Gutenberg add extra attributes to custom format

I'm creating a custom format (adding a custom option to the format toolbar) using the following guide: https://developer.wordpress.org/block-editor/how-to-guides/format-api/ import { ...

javascript block-editor  
asked by CyberJ Score of 1
answered by CyberJ Score of 1

Getting category posts from a certain year

Is there a way to get category posts from a certain year? I know how to get all posts posted in a certain year -> www.example.com/**year**/ or with months -> wwx.example.com/year/month (that's ...

posts archives  
asked by Zan Lah Score of 1
answered by birgire Score of 1

Greatest hits from previous weeks:

Where does the Media Library live in the database?

I'm exporting a Wordpress site from localhost to a web host, and I am unable to import the Media Library, as the web host is unable to contact localhost. I've uploaded all of the localhost files from ...

import export  
asked by Steve Score of 46
answered by Steve Score of 39

How to get URL of current page displayed?

I want to add custom PHP code to ensure that whenever a page on my site loads in my browser, the URL of that page is echoed to the screen. I can use echo get_permalink(), but that does not work on ...

php loop permalinks urls  
asked by cag8f Score of 111
answered by Jacob Peattie Score of 186

if ( is_home() && ! is_front_page() )

I see the following code a lot in index.php files. I understand that is_front_page() returns true when viewing the Site Front Page (whether displaying the blog posts index or a static page), while ...

loop themes templates  
asked by olliew Score of 34
answered by shramee Score of 18

$wpdb->get_row() only returns a single row?

Why is it? I tried the same query in the console and it returned multiple rows. Here's the query: $this->wpdb->get_row("SELECT * FROM ".$this->wpdb->users." WHERE status = 'active'", ...

wpdb  
asked by Joann Score of 36
answered by Javier Villanueva Score of 59

How to import wordpress posts with images from one wordpress site to another?

I have used Tools->import&export but it didn't work. I have tried using Wp-All-Import and Export plugin then also it is not working. Only the content imported not the images. How to fix this issue....

import  
asked by Padmini Maddur Score of 31
answered by Dvaeer Score of 34

Annoying "JQMIGRATE: Migrate is..." in console after update to WordPress 4.5

Why is there a constant notice, JQMIGRATE: Migrate is installed, version 1.4.0 that points to load-scripts.php in my console when I updated my theme to WordPress 4.5, and how can it be removed? It's ...

jquery notices  
asked by dingo_d Score of 68
answered by Andy Score of 67

Remove "Category:", "Tag:", "Author:" from the_archive_title

I have the following code in my theme's archive.php: <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?> This gives me titles like "Category: Russia", "Tag: America", ...

functions archives  
asked by Nick Score of 78
answered by Pieter Goosen Score of 119
You're receiving this message because you subscribed to the WordPress Development community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3