WordPress shows my picture in admin bar
That’s a gravatar. Change your user email to another email that is not registered at gravatar, or change the image to a blank .jpg at https://en.gravatar.com/
That’s a gravatar. Change your user email to another email that is not registered at gravatar, or change the image to a blank .jpg at https://en.gravatar.com/
The answer is obvious: no, you can’t. Why? Because there is no folders in database for media attachments, all media files are stored as single row in wp_posts table. I suppose it does not really matter where your media files are stored, it could be your hosting or CDN network, somebody else hosting, etc 🙂 … Read more
I don’t have the data to test so the code below may be wrong. add_filter(‘posts_search’, ‘set_is_tax_to_true’ ,10,2); function set_is_tax_to_true($search,$query){ $query->is_tax = true; } $args = array( ‘post_type’ => ‘attachment’, ‘posts_per_page’ => -1, ‘post_status’ => ‘pending’, ‘post_parent’ => $post_id, ‘order’ => ‘ASC’, ‘orderby’ => ‘ID’, ‘meta_query’=> array( array( ‘key’ => ‘cp_sys_expire_date’, ‘value’ => current_time(‘mysql’), ‘compare’ => … Read more
I would actually handle this with CSS. In your style.css file add something like this: .page-title h1 { text-indent: -9999px; background: url(images/your_logo.png) 10px 10px no-repeat; height: 100%; } You’ll then make sure that your logo is added to your theme’s images folder. Also, adjust the size of the image accordingly, or you can also adjust … Read more
Either use one of the other built-in image sizes, for instance or “large” or “full”, and/or customize the sizes for “thumbnail”, “medium”, “large” under Settings > Media, or add a new image size and use it
WordPress shows whichever image is requested by the function that outputs those images in the template. The presentation of images is entirely up to the theme developer, WordPress doesn’t make this decision on its own. For example, the_post_thumbnail function: the_post_thumbnail(‘thumbnail’); // Thumbnail (default 150px x 150px max) the_post_thumbnail(‘medium’); // Medium resolution (default 300px x 300px … Read more
I believe you’re using the wrong function. get_the_time() doesn’t actually return the current time but instead the time of when the post was published. Maybe what you’re looking to use is date( ‘H’ ).
Have you tried doing something like this? I hope it will help: https://www.skyverge.com/blog/custom-post-type-with-image-uploads/
Google wants to see that you have ownership of the domain, because on some sites, subscribers have the ability to upload to the media library. You’ll need to upload the file using FTP/SFTP to the domain’s root folder (i.e. public_html or www). You should be able to get these from your hosting provider. Sometimes they … Read more
The https change was not the cause. Actually – coincidentally – the W3 Total Cache was updated on the same day, and the Minify setting was breaking lines between meta and property words on the HTML, which were causing the error on Facebook debug tool.