Tagged Questions
0
votes
1answer
66 views
Log in / Log Out Custom Button
On our website we have a "Join" button in the top right corner and a log in / log out link using <?php wp_loginout(); ?> . Instead of having the log in / log out link we would like to have it ...
1
vote
1answer
77 views
If in category to be inside of a function
I have this code in WordPress index.php and I was wondering how can I transfer this in to a functions.php to be a part of a function?
<?php if (in_category('featured')) : ?>
<a ...
2
votes
3answers
482 views
Pinterest Integration Using functions.php
I use a theme to build an portfolio.
I´d like to add an pinterest "pin-it button" into the fuctions.php:
Facebook, Google+ an Twitter were done, just the pinterest won´t work.
Can´t found the the ...
4
votes
1answer
504 views
how to group custom post types
hi wanted to know do i group my custom post types to appear together in a group in the wordpress back end menu bar like this below in the picture what code do i have to use in my functions.php so that ...
0
votes
4answers
226 views
Problem with <code> tag
Where you can see it: http://themeforward.com/demo2/functional-codes
The first button is my code, as it should appear. The second button is within <pre><code></pre></code> ...
0
votes
1answer
63 views
Numbering lines of code with the <code> tag?
The wordpress tag is used to display code on a page (refer to: http://themeforward.com/demo2/2011/09/12/code-tags-in-post/) but I am having a hard time finding a function that will number the lines ...
0
votes
3answers
98 views
How can this crude function be improved?
In the first function below, inside the foreach, I'm calling out to the 2nd function in order to test for the occurence of matching category ids that I want to remove from the category listing.
...
1
vote
2answers
224 views
VERY new to coding - keep breaking site trying to add to functions.php
I really appreciate everyone on this site who takes the time to answer questions here. I've learned a good deal already reading, but am sure I could learn even more if I could get past at least one ...
1
vote
2answers
338 views
write in functions.php
i just want this code to be added in my functions.php, so that it will directly display after my post ends
currently i am adding this code to my single.php,
but i want to add this is in functions.php, ...