Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
2.8k views
in Plugins by

How to output "More activity" links on top of user profile?

Example profile: http://www.gute-mathe-fragen.de/user/echteinfachtv

I would like to have: More activity: All questionsAll answers at first / on top.

Is that possible?

2 Answers

0 votes
by

Found a CSS way to do it:

 

/* User Activity plugin */

.qa-useract-page-links {
    margin: 16px 0;
    color: #555753;
    font-size: 16px;
    text-align: center;
position:absolute;
top:0;
left:100px;

}

then it's on top!

0 votes
by
Looks like you found a way that works. Another way would be to move the code from the layer to a different function. Cut lines 13-27 inclusive from qa-user-activity-layer.php. Not sure exactly what function you would need, but you could probably paste it in the function that does the page heading (h1).
by
for q2a this is my workaround list:
1. css
2. php (easy?)
3. jquery
4. give up and ask here :)

Thanks for adding something to php!
...