Projekt Digitale Medizin

Dev-Posts

This website is dedicated to two Toms. Tom Lin, the best friend and brother one could wish for. And Tom Scott, who inspired me and made me realize that I crave to create. Thanks Toms! “I make things.

Written by Arman Ghanaat.

21-05-21

We’re online!

Bug: Permalinks were broken, had to be fixed. They follow content logic, meaning that the “events” page can be found under site.de/events
Subpages to each page follow the same structure, leading to site.de/events/archive.

Feature: Added Imagify-Plugin to improve performance of pictures. This plugin will definitly cost us in the long run, it might be better to switch to a more sustainable version. Google PageSpeed says: “Bildformate wie JPEG 2000, JPEG XR und WebP bieten oft eine bessere Komprimierung als PNG oder JPEG, was schnellere Downloads und einen geringeren Datenverbrauch ermöglicht.Update: already out of free credits, really need to change this. Also need to find out which media is unneccessary and convert the rest.

Feature: Added The SEO Framework plugin and configured it for better SEO. Needs testing, preferably with some form of analytics. Still a bit split on google analytics, but I really need to see the data to find out what makes our reach grow. Might want to install the plugins “Articles” and “Focus”. Alternatives to the current SEO seem to be Squirrly and Yoast. This tutorial was used to set it up.

Bug: The Contact form is not working (no e-mail received on our site). Following this tutorial to fix it. It seems that the problem might be phpmailing, to resolve this we could switch to SMPT. However that requires another plug-in that would cost after some time. Trying another plugin “ContactForm7” in unison with “Flamingo” instead. This should enable webstoring of the messages aswell. Update: ContactForm7 works, Flamingo works aswell (from Dashboard). Pro-Tip for future page-admins: do not play around with the default settings of ContactForm7, it works like a charm out of the box.

Contact-Form7 has no styling on its own. I added the following CSS code for the colours to be correct. If we ever do use WPForms again, there is CSS Code for it’s colour scheme as a non-published dev post.

/** Contact Forms 7 colour **/
input.wpcf7-form-control.wpcf7-submit:hover {
background-color: #800c2c!important;
color: #FFFFFF
!important;
}
input.wpcf7-form-control.wpcf7-submit {
background-color: #b01841!important;
color: #FFFFFF!important;
}





3 thoughts on “Dev-Posts”

  1. Fixed Social Media Buttons + Animations.

    Added Job Board. Needs tweaking for job_dashboard and post_a_job functionality.

    Added CSS to configure WordPress Buttons not managed by Elementor Theme:
    /** Button Colour **/
    button:not(.toggle), .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type=”button”], input[type=”reset”], input[type=”submit”], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link {
    background-color: #b01841;
    }

Leave a Comment

Your email address will not be published.