GithubHelp home page GithubHelp logo

abhishekghosh / wordpress-genesis-html-sitemap Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 194 KB

License: GNU General Public License v3.0

PHP 100.00%
thecustomizewindows sitemap wordpress-plugin wordpress genesis-framework abhishekghosh

wordpress-genesis-html-sitemap's Introduction

WordPress Genesis HTML Sitemap

WordPress Genesis Custom PHP-HTML archive template with responsive CSS columns for using as sitemap. Here is a partial screenshot :

![WordPress Genesis HTML Sitemap] (https://github.com/AbhishekGhosh/WordPress-Genesis-HTML-Sitemap/raw/master/shot-2.png "WordPress Genesis HTML Sitemap")

Live demo of sitemap in action. It is plain HTML & PHP with incline CSS, no Javascript call, no CSS call.

  • Moved odd stuffs of default StudioPress Genesis archive pages towards bottom like Author-named archive.
  • Added RSS Feed
  • Added responsive CSS columns for monthly archives and pages
  • Added horizontal lines

How To Use?

Place page_archive.php wp-content/themes/your-theme-in-use. Create a Page named archive or sitemap, choose Sitemap as template from WordPress Editor's Page Attributes > Template > [Dropdown] > Sitemap.

![Select Template] (https://github.com/AbhishekGhosh/WordPress-Genesis-HTML-Sitemap/raw/master/shot-1.png "Select Template")

Save and publish the Page. Thats it.

Only 100 Last Posts and Link to Archives and Pages? No Paginated List of All Posts?

It is dangerous work for websites with over 5000 posts to add such. Everytime you publish a post, the stuff will run SQL to list all freshly. It is not practical to scroll a list of 5000 URLs. In fact, category, tags do that work. In short - we are offering a lollilop to the Google bots. We are forcing Google bots to crawl the monthly archives.

How To Edit it?

You can edit to add PHP, HTML. Add some text with <p> </p> after this part :

function genesis_page_archive_content() { ?>
<?php echo genesis_html5() ? '<article>' : '<div>'; ?>

I saw that you have a search form in the deno of sitemap on your website?

You can add StudioPress Genesis snippet to add search. We actually used Google Custom Search.

There is a link at bottom towards your website?

It is for a false hope if 1-2 peoples ever keep it to say thanks.

Is there any support?

Nope. But you can open issues if you find bugs.

The Customize Windows Developed by The Customize Windows.

wordpress-genesis-html-sitemap's People

Contributors

abhishekghosh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

abhishek-ghosh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.