@mercime @hnla
I posted this topic in miscellaneous so I don’t know why it shows up in installing buddypress. Sorry guys, I don’t know what caused it.
@mercime @hnla
Is there any tutorials about contributing to the codex? I tried adding a snippet to Tips-Tricks-Code Snippets and after 7 revisions I failed miserably! π
My php code was stripped out every single time so I guest I need some instruction because I would like to give back to the community by helping on the codex but if it is this hard then maybe I should steer clear because I don’t want to clutter it up with revisions to nothing and misinformation because my code was stripped away. Thanks everyone! π
Moved topic as requested.
To add code in Codex, you can either use
<pre><code>
// code here
</code></pre>
for something like https://codex.buddypress.org/developer/members-navigation-menus/
or use
[sourcecode language=""css""]
//code
[/sourcecode]
for something like https://codex.buddypress.org/legacy/theme-dev-template-pack-walkthrough-twenty-twelve/
@mercime
Thank you, I will try that out. I will be gone for vacation for 4 days or so but I will try it out when things are back to normal. Thanks again! π
use character entities also if in doubt.
You’re lucky you can get in, I’ve been locked out from the codex for a week or so!
Before adding snippets to tricks & whatsists check what is permitted, as iirc some were stripped out recently.
@bphelp have a great vacation. Thanks for helping out in the forums π
if I may offer a suggestion:
please move the codex links from the sidebar and into the main page container. And then please use appropriate h tags to categories them in tree format (h4/h3/h2, etc.)
hereβs a screenshot to show you what I mean: https://i.imgur.com/mFY6p4Y.png
why you ask? because the sidebar is and has always been for ancillary data, not for the most important data on the page! I’ve had friends as guinea pigs try to navigate the new codex to find things and the only stumbling block is that for some, they try to find things in the main page and ignore the sidebar because they have been so trained to predict it to contain less useful info (such as blogrolls, subscribe buttons, ads, etc.)
from a purely UI point of view, this is a simple but effective way to make the codex content more available and easier to navigate and read