felixmitterer
Member
Posted 9 months ago #
Hi,
I have a problem, I've already googled 5 hours but have not found a working solution.. When I'm using shortcodes, they are working fine in posts, but on the home page/index where the posts are displayed they just show up as text, any ideas how I can fix this issue?
Thanks in advance,
Felix
Have you tried:
- deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Eleven theme to rule out any theme-specific problems.
felixmitterer
Member
Posted 9 months ago #
thanks for the tips esmi, seems that there are/were 2 problems, I've switched to twenty eleven, but it did not work either, then I've activated one plugin after another till it worked. Well now I know, that the problem is in my theme, I've put so much work into it, I need to fix it, but there's my problem, any ideas? :/
What does your index.php file use to display the post content?
felixmitterer
Member
Posted 9 months ago #
<p><?php echo str_replace(' [...]', '...', get_the_content()); ?></p>
Replace that with <?php the_content();?>.
[EDITED]
felixmitterer
Member
Posted 9 months ago #
well, I love you ;) you saved my day (and probably my night), problem solved, thaaaaaaank you sooo much!