Hi,
I use WordPress for quite some time now and whenever I had something it wouldn't do I just come to these forums and find my answer in notime!
Today, however, I stumbled upon a problem I just can't understand that good and I've been searching for over 2 hours now to find a solution for.
Ok, here's the thing…
I want to show a blogpost like this:
"Category Name - Blablabla this is the content of the post or page, blablalba."
In my HTML file, it looks like this:
<p><strong><a href="/category-name/" title="Category Name">Category Name</a></strong>- Blablabla this is the content of the post or page, blablalba.</p>
But in WordPress, the only thing I can do is place <?php echo get_the_category_list(', '); ?> before <?php the_content( __( 'Read more »', 'mythemename' ) ); ?> but then the category link show up before the paragraph-tag of the_content, while I want to place it inside that paragraph-tag.
Does anyone know how to make this work?
Sincerely,
Yvo