Archives shortcode After tag help
-
Hi, I am trying to use the Archives short code with format=custom tag. I want each post to be on a new line and have tried using the after tag to do so. since “br” is a valid html tag to use in posts, this shudn’t be a problem but its not working. there isnt any example to use html tags in before and after tags of Achive shortcode. does anyone have a clue?
thanxThe blog I need help with is: (visible only to logged in users)
-
Please paste the exact URL of your blog when asking questions here, or link your nickname to your blog (as explained in the Sticky 8 Things to Know Before Posting). We can’t help without that.
-
Sorry. I didn’t paste the url since I didn’t publish the Sitemap page due to the break problem. this is the url.
https://zeehnamespace.wordpress.com/ -
Text below post title, blank line before next title:
[archives format=custom after='
TEXT_HERE<p></p>']Text below post title, no blank lines:
[archives format=custom after='
TEXT_HERE
']Text below post title, blank line before next title and before text:
[archives format=custom after='<p>TEXT_HERE</p>']
-
Oops!
Text below post title, blank line before next title:
[archives format=custom after='<br />TEXT_HERE<p></p>']Text below post title, no blank lines:
[archives format=custom after='<br />TEXT_HERE<br />']Text below post title, blank line before next title and before text:
[archives format=custom after='<p>TEXT_HERE</p>'] -
-
-
Maybe you typed something wrong when you tried. Copy it from here and try again (I tried it in my test blog and it works). I checked the source code of your page: at the moment you’ve got a span tag for color, but absolutely nothing for “after”.
-
Thanks for your help. But I have repeated tried doing this. Sometimes, it autosaves the page but just doesnt update it. Even the time that it updated the page, it didnt display the Break. Perhaps, it is clashing with the styles.
I am not sure but if I choose the default format, then it shows each post on a new line. However, it doesnt match the blog style. Hence, I used the format=custom tag. I should email the support I guess.
- The topic ‘Archives shortcode After tag help’ is closed to new replies.