mhango

Lightsome Theme - Adding more blogs

Mar 24th, 2021 (edited)
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. How to add more blogs to the blog section in Lightsome Theme
  2.  
  3. 1. Go to your theme's html
  4.  
  5.  
  6. 2. Find the part where it says the following:
  7.  
  8. <meta name="text:Blog 4 Username" content="" />
  9.  
  10.  
  11. 3. Directly behind (below) it, add the following:
  12.  
  13. <meta name="text:Blog 5 Username" content="" />
  14.  
  15.  
  16. 4. Find the part where it says the following code:
  17.  
  18. {block:ifblog4username}<a href="https://{text:blog 4 username}.tumblr.com" title="{text:blog 4 username}" target="_blank"><img src="https://api.tumblr.com/v2/blog/{text:blog 4 username}.tumblr.com/avatar/512"></a>{/block:ifblog4username}
  19.  
  20.  
  21. 5. Directly behind (below) it, add the following code:
  22.  
  23. {block:ifblog5username}<a href="https://{text:blog 5 username}.tumblr.com" title="{text:blog 5 username}" target="_blank"><img src="https://api.tumblr.com/v2/blog/{text:blog 5 username}.tumblr.com/avatar/512"></a>{/block:ifblog5username}
  24.  
  25.  
  26. Now you should be able to type in a 5th username in the theme options and make it appear in the Blogs section.
  27.  
  28. To add a sixth blog, just repeat the steps above by replacing all the numbers in the code snippets from 5 to 6 and then paste the codes right underneath where you placed the previous ones.
  29.  
Advertisement
Add Comment
Please, Sign In to add comment