Tyssen
Forum Replies Created
-
Forum: Plugins
In reply to: [WindPress - Tailwind CSS integration for WordPress] Elementor ETAI’ve just installed fresh copies of WP, Elementor and WindPress today and under the WindPress settings, I can see that Elementor is selected but I don’t see any way to add WindPress classes to content in Elementor. Is that a configuration problem or is the integration not fully active yet?
Forum: Fixing WordPress
In reply to: Making themes responsive images compatibleI don’t know about edge cases. I’ve updated four sites so far to 4.4.1, all running different themes, and only one of those hasn’t had an issue.
Forum: Fixing WordPress
In reply to: Making themes responsive images compatibleThanks, that looks like it’s done the trick. But isn’t this the sort of thing that should be added to the core? If a core update breaks your site, you shouldn’t have to download a plugin to fix it; the core update process should prompt you to do it.
I’ve just udpated to 3.11.6 and still getting different classes displayed on the front-end from what are entered in the ad code in the CP.
Forum: Fixing WordPress
In reply to: Search doesn't work after renaming index.phpActually, I found out I just needed to update the blog URL in the settings.
Forum: Fixing WordPress
In reply to: Upgraded to 3.0.2 and now wp-admin is blankI tried running /wp-admin/upgrade.php and got an error message on /wp-admin/includes/post.php which looks like it hadn’t been uploaded properly. Reuploading fixed the problem. ??
Forum: Fixing WordPress
In reply to: Allow Comments Turning Itself Off?I’m having the same problem and it’s only happening on a single post on my site. The allow comments and trackback checkboxes are unchecked and I can’t turn them back on. The post is one which receives a lot of trackbacks from forum threads so I thought it might have something to do with Akismet or Kramer but turning the plugins off didn’t change anything.
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Using get_posts instead did the trick! Thanks very much for the pointer. ??
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Actually, it hadn’t occurred to me, but now that you point it out, then yes, that’s probably where the problem lies.
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Yep works in the template if placed outside the normal loop.
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Well actually, in either case, I don’t really need to use pastebin, because it’s fairly simple.
The page template:
<?php /* Template Name: Pages */ ?> <?php get_header(); ?> <div id="content"> <h1><?php the_title(); ?></h1> <?php if (have_posts()) : while (have_posts()) : the_post(); the_content(); endwhile; endif; ?> </div> <?php get_footer(); ?>
And the code being called from within the page:
<p>Content:</p> <ul> <?php $my_query = new WP_Query('cat=XX'); while ($my_query->have_posts()) : $my_query->the_post(); $link = get_post_meta($my_query->ID, site-url, true); ?> <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> <p>More content.</p>
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Would that be just the PHP I’m pasting into the page or the full code for the template that controls the page’s output?
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?Michael, your suggestion doesn’t produce anything either so I’m assuming it’s a problem with calling a custom query from within a normal query.
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?It’s not the name of the custom field that’s wrong, it’s that $post doesn’t contain any data because testing with t31os_’s updated code, I get $post is empty which I’m confused about because it’ll print out
<?php the_permalink(); ?><?php the_title(); ?>
OK. ??
Forum: Fixing WordPress
In reply to: Do custom fields work inside a WP_Query loop inside a page?I tried your suggestion t31os_ and I get No value for custom field found.. printed to the screen but not the value of $link or $post->ID.