Giter VIP home page Giter VIP logo

frojd-bedrock's People

Contributors

8ig8 avatar aaemnnosttv avatar alexsomeoddpilot avatar austinpray avatar benjibee avatar brandonshutter avatar chrisnx avatar dannyfischer avatar emzo avatar etcook avatar fabschurt avatar foxaii avatar francescolaffi avatar fredriksundstrom avatar gustaveen avatar jonknapp avatar julienmelissas avatar klingberg avatar marteinn avatar martinjobb avatar mikaelengstrom avatar nmec avatar pcfreak30 avatar qwp6t avatar rasmusbe avatar retlehs avatar saraojelind avatar starise avatar stasilo avatar swalkinshaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frojd-bedrock's Issues

Add header

Included with logo, main menu, service menu and mobile menu

Remove user from db in docker services

User setting is not working under Linux.

Change:

    db:
        image: mysql:5
        ports:
            - "{{cookiecutter.docker_db_port}}:3306"
        volumes:
            - "./docker/files/db-dumps/:/docker-entrypoint-initdb.d/"
            - "./db/:/var/lib/mysql"
        env_file: "./docker/config/db.env"
        user: "1000:50"

To:

    db:
        image: mysql:5
        ports:
            - "{{cookiecutter.docker_db_port}}:3306"
        volumes:
            - "./docker/files/db-dumps/:/docker-entrypoint-initdb.d/"
            - "./db/:/var/lib/mysql"
        env_file: "./docker/config/db.env"

Add 404 page

Add a 404 page with a title and description collected from the admin theme settings

Add footer

Collect information from theme settings page:

  • link list
  • follow links
  • contact

Add main WYSIWYG formatting

These tools should be included in WYSIWYG:

  • p,h2,h3,h4,h5,h6
  • bold, italic, underline, strikethrough
  • bullet and number list
  • hr
  • block quote
  • alignright, aligncenter, alignleft, alignjustify
  • link, unlink
  • pastetext, removeformat, undo, redo, help
  • Format for preamble

Also add styling of the above and for inserting embedded code

Accessibility audit

Axe DevTools flagged that "Document does not have a main landmark" when i was testing a site based on Frojd-Bedrock.

I think the solution would be to replace <div role="document"> with <main> or <div role="main"> but maybe this should be done together with a bigger accessibility review on the whole project?

Add basic acf-settings

Add a theme settings page in admin with basic fields:

  • 404 - title and description
  • Footer - Link list, follow links, contact
  • Cookie popup - Text
  • Browser support popup - Text

WP cli fail due when running as root

These commands fails with YIKES! It looks like you're running this as root.

- name: Flush permalinks
  shell: chdir="{{ ansistrano_release_path.stdout }}"
    wp rewrite flush

- name: Flush cache
  shell: chdir="{{ ansistrano_release_path.stdout }}"
    wp cache flush

in after-symlink.yml.

I suggest either to add --allow-root or the soulution below.

- name: Flush permalinks
  shell: chdir="{{ ansistrano_release_path.stdout }}"
    runuser -u www-data -- wp rewrite flush

- name: Flush cache
  shell: chdir="{{ ansistrano_release_path.stdout }}"
    runuser -u www-data -- wp cache flush

Mismatch in deploy vs provision when creating directories

Some problems occur when using the provision and then on deploy:

  • Using user "deploy" on provision doesn't work since releases-directory can't be created in app directory
  • Setting user "deploy" to uploads directory in after-setup makes the uploads directory not writable for uploading files from wordpress

Change so provision is done with root and then any changes to ownership can be added afterwards. Also make sure the user set to the uploads directory can write to directory from WP

Flush nginx cache on deploy

Had an issue where I could not see my changes after deploy. Resolved it by flushing nginx cache in wp admin. But i think it should be a part of the release flow.

Added this to after-symlink.yml in my project. Maybe it should go into the boilerplate?

- name: Purge Nginx Cache
  shell: /bin/rm -rf /var/lib/nginx/fastcgi_cache/*

Access denied on users endpoint from wp-admin

The authors dropdown in page editing won't be visible since the endpoint for users is removed in security file in theme.

Fix this by adding early return in 'rest_endpoints'-filter for logged in users

Add walkers

Add a walker for wp_page_menu and wp_nav_menu with classes in bem-structure

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.