WordPress.org

Support

Support » Themes and Templates » writing articles: creating anchor with own class

writing articles: creating anchor with own class

Viewing 7 replies - 1 through 7 (of 7 total)
  • anybody today? 🙂

    You can create any type of class you want in your StyleSheet. Once you insert the LINK into your post you’ll have to add the class manually.

    The “manually” is the point, I want to avoid 🙂
    My aim is to let anybody without programming skills change/insert contents on that blog. So I of course try to make everything as easy as possible.

    What I really want in conclusion is to automatically set icons before pdf, odf and other files. I’ve found some Plug-ins (attachment_list, attachment-manager) for that feature, but they don’t seem to work with actual WP-versions…

    Is there any chance to realize this easily?

    Thanks,
    Morjo

    I understand what you want. I place a YouTube icon before links to YouTube, a Twitter icon before links to Twitter, etc.

    I created a class designation for this in my Stylesheet, which isn’t hard at all, and add the class=”” here: <a class="" href">

    I have a “YouTube” class, a “Twitter” class, etc.

    I don’t know of any other way to accomplish this.

    Thanks a lot for your answers. So thats the way I will solve this, too.

    Hope that newer WP-Versions anytime can use defined classes for the drop-down-menu 🙂

    Just wanted to post that I’m looking for the same thing. I’d like to add a class to the dropdown list when created a link. Currently there is only the following:

    • aligncenter
    • alignleft
    • alignright
    • wp-caption
    • ap-caption-dd

    Anybody have any ideas?

    Me too…

    Been looking everywhere, but can’t find that dropdown list, nor any plugin that let me change these predefined classes. It would be a very nice feature to be able to create my own classes!

    Someone please help 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘writing articles: creating anchor with own class’ is closed to new replies.