Skip to content

WPezClasses/class-wp-ezclasses-theme-relative-urls-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org: WPezClasses

Product: Class_WP_ezClasses_Theme_Relative_URLs_1

Makes your WordPress URLs relative (so WP is a bit harder to find).

===============================================================================================

Get Social

===============================================================================================

Using: Class_WP_ezClasses_Theme_Relative_URLs_1

Presuming you're using the WPezClasses framework as recommended (i.e., autoload, etc) then just add this line to your customizations plugin:

Class_WP_ezClasses_Theme_Relative_URLs_1::ezc_get_instance();

That's it. Relative URLs. ezDone!

Naturally, you can extend the class and make your own adjustments.

You can also, pass in an array of args if you don't want to use certain filters. See the method: init_defaults() for an example of what that array should look like.

Credits

From the Roots Theme framework, as GitHub Gist'ed here:

About

Makes your WordPress URLs relative (so WP is harder to find).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages