php - How do I changemodify the_post_thumbnail(); html output?
I'm working on building out a custom theme and have been struggling with this one for a bit. I am trying to modify
php - Cross origin ajax request always returns 0 when calling get_current_user_id();
I currently work on localhost and when I want to test ajax requests to my web server, the function get_current_user_id()
Custom permalink - append taxonomy name and term name at the end of permalink
I have custom post type -> resourcescustom taxonomy-> resources_typeI want custom permalinks where category bas
ACF Field, hide taxonomy title and image when no nothing selected in post
I have added a custom taxonomy image through ACF.My code is as follows.<?php global $post;$tax = 'directory_feat
PHPUnit test plugin activation
I'm trying to test if my plugin activates properly with PHPUnit. I have used boilerplate structure generated on thi
plugins - Flickering sidebar when scrolling page
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress.
themes - fixing page URL's
I've got this page to fix, however i'm quite new to WordPress, so i was wondering maybe anyone here will be ab
url rewriting - Wordpress index in subdirectory, blogposts in root directory
For our website we want to start a blog in the subdir domainblog but for SEO value we would like the blogposts as domai
wp query - Mix post date with post meta value using WP_Query
Finding any way to push old posts into the WP_Query using custom fields.For example I have 10 posts in this year, and w
url rewriting - How do I rewrite URL that has custom parameter
I'm stuck on rewriting my url. been searching for days hacking code together but to no avail - So looking for help
Redirect loop with similar URLs
I want to redirect a page that ends in mysitefall to mysitefall-2019I've renamed the original page permalink of m
uploads - Sanitizing existing media library paths and page links from foreign characters
I'm migrating an old WP site that supported Swedish letters ÅÄÖ in the URL, thus the site has hundrets of images co
functions - How do I create a child theme from PowerMag theme
I am using PowerMag 2.5 as parent and can't seem to find a way to get a working child theme.As far as I am now, I
widgets - Can't use is_home in template-functions.php
I'm trying to load a slider in my header, but only on the homepage. I'm using The Ultralight template if that
plugins - Assignments must be the first block of code on a line Validation Error on Travis
Travis is giving me ~ Assignments must be the first block of code on a line for this specific line of code: $validate_st
tribe_get_start_time displays the current date and time on other post types than tribe_events
i am displaying posts selected by an ACF relationship (with object format) on a page, including custom posts like tribe_
php - Adding Gravity Form With if(is_page) Is Not Working
Please bear with me as I am a front-end developer trying to grapple with PHP.I am attempting to add a gravity form to s
Images showing up in Post Editor, but not in Published Post
I am trying to add three images by just inserting them into the post here: Although I can see the images perfectly in m
wp query - Shortcode attributes causes 500 error after updating the page
I have created a shortcode that allows me to pass an attribute like so [product_swatch swatchtype="swatch"]. I
plugin development - How to properly sanitize strings for update_option()
I've tried to import an option value via update_options($name, $value) where $value has special characters (like ap

