• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Changing return format of template functions?

Changing return format of template functions?

  • Unknown's avatar
    nicluciano · Member · Oct 21, 2008 at 3:56 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    For instance, wp_get_archives(‘type=monthly’); returns your archives in the format of

  • . But wp_list_categories(); returns the categories as
  • ‘s inside of a
      inside of an

    • . I’d prefer it to just return the categories in the same format as wp_get_archives()…

      Thanks!
      Nic

  • Unknown's avatar
    nicluciano · Member · Oct 21, 2008 at 3:58 am
    • Copy link Copy link

    Awesome first post… sorry, take 2…

    For instance, wp_get_archives(‘type=monthly’); returns your archives in the format of li->a. But wp_list_categories(); returns the categories as li’s inside of a ul inside of an li. I’d prefer it to just return the categories in the same format as wp_get_archives()…

    Thanks!
    Nic

  • Unknown's avatar
    thesacredpath · Member · Oct 21, 2008 at 4:01 am
    • Copy link Copy link

    You’re in the wrong forum. This forum is for people hosted here at the free hosting service, wordpress.COM. You need to head over to http://wordpress.ORG/support/ where they support self-hosted blogs.

  • Unknown's avatar
    nicluciano · Member · Oct 21, 2008 at 4:07 am
    • Copy link Copy link

    If registration is going to be integrated across two sites the forum should too. ;)

    Thanks!

  • Unknown's avatar
    thesacredpath · Member · Oct 21, 2008 at 4:12 am
    • Copy link Copy link

    Registration is not integrated across the two sites.

    The software for self-hosted blogs and the blogs hosted here at wordpress.COM work differently and there is a world of difference between what can be done with self-hosted blogs and what can be done here. We at .COM have no access to the underlying theme or wordpress files.

  • Unknown's avatar
    raincoaster · Member · Oct 21, 2008 at 7:21 am
    • Copy link Copy link

    Insofar as I get this, it’s not gonna happen at WP.com.

    • The topic ‘Changing return format of template functions?’ is closed to new replies.

    Tags

    • format
    • theme

    About this topic

    • In: Support
    • 3 participants
    • 5 replies
    • Last activity 17 years
    • Latest reply from nicluciano

    Couldn't find what you needed?

    Contact us

    Contact us

    Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

    Browse our guides

    Browse our guides

    Find step-by-step solutions to common questions in our comprehensive guides.

    WordPress.com

    Products
    • WordPress Hosting
    • WordPress for Agencies
    • Become an Affiliate
    • Domain Names
    • AI Website Builder
    • Website Builder
    • Create a Blog
    • Professional Email
    • Website Design Services
    • WordPress Studio
    • Enterprise WordPress
    Features
    • Overview
    • WordPress Themes
    • WordPress Plugins
    • WordPress Patterns
    • Google Apps
    Resources
    • WordPress.com Blog
    • Business Name Generator
    • Logo Maker
    • WordPress.com Reader
    • Accessibility
    • Remove Subscriptions
    Help
    • Support Center
    • Guides
    • Courses
    • Forums
    • Contact
    • Developer Resources
    Company
    • About
    • Press
    • Terms of Service
    • Privacy Policy
    • Do Not Sell or Share My Personal Information
    • Privacy Notice for California Users
    DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

    Mobile Apps

    • Download on the App Store
    • Get it on Google Play

    Social Media

    • WordPress.com on Facebook
    • WordPress.com on X (Twitter)
    • WordPress.com on Instagram
    • WordPress.com on YouTube

    Automattic

    Automattic
    Work With Us
      • WordPress.com Forums
      • Sign up
      • Log in
      • Copy shortlink
      • Report this content
      • Manage subscriptions