Tag Info

New answers tagged

0

Instead of the_title() try this: echo get_the_title($_img). It should only work inside the foreach loop.


0

I understand the issue and have these additions from my own research. I have found the way, but it requires paying for a subscription based service (Uploading Photos to WordPress with a Lightroom Publish Service): http://havecamerawilltravel.com/photographer/lightroom-wordpress-publish-service Another tidbit was the workflow by Scot Kelby, which discusses ...


0

If you are dealing with a category page, you would simply use conditional tags, as suggested by @milo: if ( is_category( 'cat-1' ) ) { $url = 'my-background-image-url-1.ext'; } else if ( is_category( 'cat-2' ) ) { $url = 'my-background-image-url-2.ext'; } remember, you could pass in a category slug as well as a category name or an array containing any ...



Top 50 recent answers are included