Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #169605


    I just spend quite some time trying to add a custom post type to a site.
    I followed all the steps in the Codex but something is always missing. The posts are not showing up in the archive or they are but the taximonies don’t show up in the archive (sidebar)…
    You have a few post types in the theme… Links, Video and so on.
    I was wondering if there is a relatively easy way to add a few more. What would I need to do in order to copy “links” name it “somethingelse” and give it another icon in the back end?

    Would be great if you had a tip :)



    Maybe it might be just easier just to edit the existing Types as I would not need them all.
    You have this in the functions.php:

     $avia_config['font_icons'] = apply_filters('avf_default_icons', array(
        //post formats
        'standard' 		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue836'),
        'link'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue822'),
        'image'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80f'),
        'audio'    		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue801'),
        'quote'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue833'),
        'gallery'   	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80e'),
        'video'   		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue80d'),

    So I assume this sets the icon I see on the front-end of the post. Where would I get a list of existing icons so I can relace them with something else? I would need that “ue…” for each icon.
    Also which file would I need to edit to rename those existing types?

    Hope this is possible.




    Unfortunately we really can not assist in issues outside of the theme. You should ask on either Stack Overflow or the WordPress general support forums.

    The post types you are referencing above are WordPress post “post types”. Which were introduced a few versions ago and are different from custom post types. They are not editable by any means right now.


Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Add Post Types’ is closed to new replies.