I have a custom post type (portfolio-writings) that’s been working just fine until today, when I tried to start a poetry post with a div. (I needed to put a container on the content, to center it.)
Beginning a post with word content, rather than code, formats everything correctly (in my case, it displays text in Arial, 17px). However, when I started a post with
<div class="center">, it centered my content, but overwrote my text styling.
When I looked at the code in Firebug, what I found is that whenever I start a post with code, rather than content, WordPress no longer inserts paragraph and line break tags by default; so, of course, I get default Times New Roman. As I’ve done this sort of thing for ages in default WP posts, I’m assuming this is a problem associated with the custom post types. (Could someone confirm this?) For now, I’ve worked around this by inserting my own
- The topic ‘Possible Bug in Custom Post Types’ is closed to new replies.