Tag Info

Hot answers tagged

2

You can use the variable $current_post, something like this. <?php $query = new WP_Query(array( 'post_type' => 'custom_job', 'showposts' => 12 ) ); ?> <?php while ($query->have_posts()) : $query->the_post(); ?> <?php if ...


1

You need to set your ACF field to return the image object instead of the URL. You can then use the following code to retrieve the image and alt text: <?php $slideshow_image = get_field('slideshow_image'); // Check for alt text - if there isn't any, use the image title $alt = ($slideshow_image['alt']?$slideshow_image['alt']:$slideshow_image['title']); // ...


1

No. Unfortunately you're looking at a walker, or a custom replacement function, as described here: http://stackoverflow.com/questions/12353076/wp-list-pages-isnt-showing-title-attribute


1

It looks like your custom font is missing for this char. Try use "eraser" tool in editor to format styles for this text.


1

I was able to resolve it by deleting the sentence and retyping it. The issue did not replicate. My best thought was that the import user imported text via Word.



Only top voted, non community-wiki answers of a minimum length are eligible