Reputation
782
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 12
Newest
 Yearling
Impact
~19k people reached

  • 0 posts edited
  • 4 helpful flags
  • 26 votes cast
Apr
28
comment How to transfer one domain to another domain without losing theme options (customizer)?
You might have corrupt DB entries then. Try a clean seacrh replace using a tool like wp-cli or interconnectit.com/products/…
Apr
28
comment How to transfer one domain to another domain without losing theme options (customizer)?
If you get broken links see what urls are trying to load. This will give you a better idea of what needs to be search/replaced in your target deploy.
Apr
28
comment How to configure Wordpress Multisite by bash script?
You already found what you need - wp-cli. Multisite-convert an one line command not worth of creating a bash script to just use it.
Apr
27
comment Listing a post's categories and subcategories
Please elaborate on the "subcategories for a particular post" part? Do you mean post category siblings?
Apr
27
comment How to enable shortcodes in text retrieved from get_theme_mod
Yes, that should work. You wrote you use get_theme_mod(), that's why I gave you that example.
Apr
27
comment Make shortcode work in all posts displayed by loop, not just the first one
Show us the actual showcode code. That would be the function that comes as second argument in add_shortcode();
Apr
27
comment change “missing attachment” text functions.php
Compare agains __( 'Missing Attachment' ) which will account for localized texts.
Apr
27
comment Menu Item Post variable count way too high, can't save menus
Create a php file containing <?php phpinfo();. Load it in browser and check if your config is propagated. Never used MAMP but try restarting web server(Apache) or php service, if there's one.
Apr
26
comment Image upload - Cannot modify header information
What's your WP version?
Apr
26
comment Custom Post Type: Search Results - Template for no results
It even doesn't have to redirect to home URL strictly. Any archive page and the s parameter should be enough to trigger search.
Apr
26
comment Website (text) problems after update
What exactly did you update?
Apr
26
comment How to show Published date and/or Modified date
@Jevuska That's probably it.
Apr
26
comment Push Shortcode parameter to template
@NathanPowell please do what you feel is the right thing to do. I'm simply addressing that exact part of the question that asker has explicitly pointed as problematic for him.
Apr
26
comment How to show Published date and/or Modified date
Is it an already published post or a draft?
Apr
25
comment How to redirect a sub directory except for the landing page?
While this is something that WP can handle it's not the recommended approach and it's better suited for SO under htaccess and mod_rewrite tags.
Apr
25
comment Create Tables in WordPress
Is using a plugin an option?
Apr
25
comment Using a filter in functions.php to add content to single posts regardless if post is in main or child category
Check if this answer suits your needs wordpress.stackexchange.com/questions/155332/…
Apr
24
comment Get attachments for posts that belongs to a specific category
I would go for a more stable approach and use a plugin like wordpress.org/plugins/taxonomy-images
Apr
24
comment Unpublish Authors With not Fulfilled Fields
I don't know what you think you're doing but pre_get_posts action has nothing to do with users but posts only. You say you created extra fields, show us how you did that.
Apr
24
comment display widget checkbox selection on frontend
Widget doesn't display at all or you can't get it to display how you like it?