WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can Theme change permalink structure? (3 posts)

  1. andrewkro
    Member
    Posted 3 years ago #

    Hi, I have an interesting question.

    I'm developing a theme and a client wants to set it up so when activated, the blog's permalink structure is automatically changed to Custom permalinks.

    Is it possible?

    Also, is it possible to automatically assign that the frontage will be a static page?

    Thanks,
    Andrew

  2. Darrell Schauss
    Member
    Posted 3 years ago #

    You can choose a certain page for front page in Settings > Reading.
    http://codex.wordpress.org/Creating_a_Static_Front_Page

    I haven't done it but this looks like the right information to using wordpress hooks for permalinks.
    http://codex.wordpress.org/Function_Reference/WP_Rewrite#Plugin_Hooks

    Instead of a plugin you would build it in your functions.php

  3. andrewkro
    Member
    Posted 3 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags