User Tools

Site Tools


wp_frontpage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wp_frontpage [2015/08/30 12:33] – created luke7858wp_frontpage [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Try the following:
 +\\
 +http://forum.graphene-theme.com/feature-requests/random-front-page
 +
 +\\
 Front Page Display Front Page Display
 <sxh bash> <sxh bash>
 https://developer.wordpress.org/themes/basics/template-hierarchy/#Front_Page_display https://developer.wordpress.org/themes/basics/template-hierarchy/#Front_Page_display
 +</sxh>
 +If you wish to manually edit the front page, create a file in the document root, theme folder called front-page.php, this page takes precedence over any other file created for the front page. Note, the file will be empty when you created it, as such your home page will be. Best thing to do is copy another file over and then edit
 +<sxh bash>
 +/var/www/vhost/staging.goodfood/wp-content/themes/trance/front-page.php
 </sxh> </sxh>
  
 +<sxh bash>
 +https://wordpress.org/support/topic/how-to-display-a-random-page-in-a-static-front-page
 +</sxh>
wp_frontpage.1440938030.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki