cdyerkes
Forum Replies Created
-
Thanks Helena for looking. I am aware of template parts and how to make them, it’s just the specific alternate designs/layouts in the twenty twenty-four theme’s right sidebar (that I took a screenshot of https://capture.dropbox.com/WHVZ8KisIEDZkdEf) seems to be different somehow. I only see these alternate designs in the editor view there, not in the template parts directory itself. Just wondering how the authors were able to get them to show up there in the right sidebar area as alternate designs.
Hi Riza, thank you that did work for me. I see the inline version is now wrapped in spans, so it sits where I want it to (within a <p> tag).
Hi Riza,
I tried using that shortcode instead and it yields the same result for me. I cleared my site cache and browser cache as well to make sure it wasn’t retaining the old code. Here is the same page: https://neiwpcc.org/lustline/92/tale-of-the-terrifying-tank/
I also tried generating my own layout using the plugin’s tools, but that was creating a critical error on my website, so I had to scrap that since I don’t exactly know what’s going on with the template that’s doing that.
Forum: Plugins
In reply to: [Any Mobile Theme Switcher] child theme issuesHi, I’m also experiencing a broken site when trying to use a child theme. I’m using version 1.8 of the Pro version of the plugin. Basically, the parent theme CSS is not being applied from the child theme (where it was imported).
Forum: Requests and Feedback
In reply to: SVG Previews no longer show in version 4.0I can upload them just fine.
It’s the previews that aren’t working.
I just did a test with a clean install of WordPress 4.0 and no previews. In 3.9.2 there were SVG previews.
edit: also using latest stable chrome browser to upload.
Forum: Requests and Feedback
In reply to: SVG Previews no longer show in version 4.0Thanks for the tip. I hadn’t tried those filetypes before.
I see, so I guess the display issue would be a bug with WordPress 4.0. Bummer.
Just popping in to say that this happens to me too.
The stuff added to the htaccess is shutting down my whole site (gives me a 500 internal server error).
I had to disable the plugin and delete all the extra htaccess entries to get it working again.
Thanks for this code. I adapted it to use an array so I could use the if else statements in case you didn’t have a value stored in the date field.
<?php // Get all custom fields attached to this post and store them in an array $custom_fields = base_get_all_custom_fields(); $dateparts = explode("/", $custom_fields['Effective Date']); $datedisplay = date( 'F j, Y', mktime(0, 0, 0, $dateparts[0], $dateparts[1]) ); ?>
then insert this into the area of your template you want the date to display:
<?php if( !empty($custom_fields['Effective Date']) ) { ?><?php echo $datedisplay; ?><?php } ?>
Because the if( !empty()) is used…it will check to see if the field is empty, and if it is, it won’t display the date.
I’m sure there is an easier way, but it works for me :]