adding classes to the different display links
-
i am using pod press to host files for a church site. their requirements are that the site have a link for streaming audio, a link for downloadable audio, and a link for downloadable pdf order of worship. the problem in trying to style any of this is that there are no associated classes with any of those links.
i’ve found that in podpress_theme.php, the streaming audio is spit out on a different line than the downloadable content, so hardcoding a style in there was fine. the dead-end i’ve run into, though, is that both the downloadable audio and the downloadable pdf links are spit out by the same line of code, so there’s no way to differentiate between the two.
in the wp-admin, i am assigning a file type to each item i upload. is there a way to pull this information into the a tag in a way that would let me style the links to the two different content types differently?
The topic ‘adding classes to the different display links’ is closed to new replies.