Posts about Programming

bootScore Without Blurred ‘Feature Images’
/ | Leave a CommentI have already discussed bootScores blurred images. The problem was easy: In cooperation with WordPress, bootScore embeds images of size ‘medium’ in the post lists. And that even on large screens, where the browsers have to fill much more space than the images could do by themselves. Consequently, the browsers upsize the images that are […]
Read more »
Two On One Stroke!!
/ | Leave a CommentThere were two things I wanted to see changed in the bootScore theme before venturing into the big interventions. Fortunately, it was easy to get a more fancy tag cloud and an improved list of recent posts showing the featured images as thumbnails:
Read more »
bootScore and the Blurred ‘Feature images’ III
/ | Leave a CommentTo avoid the trap of blurred images, I suggested letting WordPress automatically generate also square bootScore-specific thumbnails of size 600x600. The bootScore templates index.php and archive.php should request these images via the command get_the_post_thumbnail(null, ‘bsTeaser’) instead of asking for the medium size. This would make it less likely that a picture would need to be […]
Read more »
A Logo Please! And the Favicons too.
/ | Leave a CommentNo website without a logo! Integrating logos correctly is often a tricky task. They have to be visible, well-placed and leave space for the menu. Additionally, they must not bloat or distort the header area. And the way of integrating them into the templates should also allow us to use the favicons for the browser […]
Read more »
An image reference? Really?
/ | Leave a CommentI don’t buy images. Never. I take my own pictures. Or I use free images released under a Creative Commons License. Or in the ‘public domain’. Some image databases offer their photographs under their own licenses, equivalent to the free licenses, as long as I do not make their images publicly available through another image […]
Read more »
bootScore and the Blurred Featured Images II
/ | Leave a CommentAvoiding distorted featured images is possible. We have shown that. However, our method is not yet optimal: if we let WordPress when uploading, also crop the medium-sized thumbnails as squares, we give up what is commonly expected. Maybe other plugins need the ‘medium’ thumbnails in the original aspect ratio after all. So it would be […]
Read more »
bootScore and the Blurred Featured Images I
/ | Leave a CommentbootScore — the Bootstrap-based WordPress starter theme — can only be designed via CSS, PHP, and JS programming: If you want to fashion your website, you need to program. That’s the way how bootScore integrates bootstrap perfectly: it leaves the unfinished look to the programming web designers.
Read more »
Making Fancy Images Faster!
/ | Leave a CommentIn the case of Fancy Images, we show our reader first a tiny image. And on her request — wants to say: click — also a larger version. For implementing this feature, I initially put the URL to the uploaded image in the href attribute of the fancy link and in the src attribute of […]
Read more »
Fancy SVGs
/ | Leave a CommentWordPress does not like Scalable Vector Graphics by default: SVGs consist of XML code. If loaded, it can — at least in principle — inject malicious code into the system. Using SVGs in templates, however, is not prevented by WordPress. On HTML level, they can be embedded — as usual — in img tags. That’s […]
Read more »
Fancy Boxes for Fancy Images
/ | Leave a CommentLarge, prominently placed images are eye-catchers. WordPress even has a name for it: Featured Image. The only problem is: Starting every post again and again with a ‘featured image’ is tiring. Even if our reader has already decided on an article, we force her to scroll. It would be better to give her directly what […]
Read more »
Divide and Beautify!
/ | Leave a CommentThe smaller the screen, the greater the risk that long words destroy the reading image. Without hyphenation, it becomes choppy or fizzy on smartphones. If a bootScore-based site — according to Responsive Design — wants to maintain readability by rearranging the text elements, then it cannot do that without automated hyphenation.
Read more »
Indent and Beautify!
/ | Leave a CommentDeeper nested menus are displayed depending on the size of the device. Stacked submenus on larger screens are unfriendly for the reader. People stumble over what’s underneath. So let us soften the stacking a bit.
Read more »
No HOVER menu for bootScore after all?
/ | Leave a CommentExactly. After I crawled into the topic, I decided against it. Following Adenauer’s aphorism, What do I care about my gossip of yesterday!
Read more »
Keeping Your Menus Clean
/ | Leave a CommentIn my ‘previous’ WordPlus life, I was rather sloppy with my menus. Let’s first agree on what we are talking about: WordPress knows keywords and categories. Now we also need a name for the entries in nested menus, which themselves still have sub-entries. They can be regarded as categories, too — because of their grouping […]
Read more »
Deeper Nested Menus
/ | Leave a CommentLike Bootstrap, BootScore only knows menus with a depth of 2. Bootstrap because it wants to in principle. BootScore because it follows its base as strictly as possible. Level 0 entries are listed horizontally in the header, and the corresponding level 1 entries are listed vertically below. Thus, the top-level entries group the entries below […]
Read more »
From dev to prod: Shortcodes in Menus and elsewhere
/ | Leave a CommentMaintaining a WordPress-based site often means working with two instances — one for development and one for production. Both have their own domain, a specific URL, used to link one site element to another. Manually or automatically. This implies that a woman has to replace this URL prefix with the other one in all places […]
Read more »
Divide and Conquer: Separated Bilingualism
/ | Leave a CommentI had set up my old site, fodina.de bilingual. With the help of WP-Globus. As nice as this worked for years, at last WP-Globus got lost. Thoroughly! When I edited the German text, it made the English disappear. And vice versa. Something like that shall not happen to me again. The restoration was complex and […]
Read more »
Feeding the Footer II: The ‘Subordinated’ Menu
/ | Leave a CommentA footer is an area for more off-beat references. They are more offside insofar as our readers expect to get access to what they came for — directly after a page is loaded, directly on top of it. At the bottom — where they first have to scroll — they are looking for minor aspects. […]
Read more »
Feeding the Footer I: The ‘minor’ stuff
/ | Leave a CommentWhat is important is in the eye of the beholder. A lawyer would perhaps include the imprint, the image credits, or the data protection concept. And not to forget: the open source compliance artifacts. The reader, on the other hand, would see it differently! She wants content. Entertainment. Real ‘content’. Not this legal gobbledygook.
Read more »
SEO II: No Broken Links, please
/ | Leave a CommentSearch engines don’t like gossipy key wording, but they love well-filled sitemaps. But they detest broken links.
Read more »
SEO I: Semantic Tagging, Key Wording, and Sitemaps
/ | Leave a CommentSEO encompasses a lot. One means of Search Engine Optimization is the semantic tagging of sections, which became possible with HTML5. bootScore is very well positioned here.
Read more »
Shortcode for Font Awesome Icons
/ | Leave a CommentSomewhat frustrated , I have to add that embedding ‘own’ HTML code into a WordPress/Gutenberg block via ‘Edit as HTML’ occasionally destroys the type and content of the block : If the code is suspect to the Gutenberg editor, it replaces the work already done with an empty HTML block . Annoying if you just […]
Read more »
Font Awesome & self-made css-Classes
/ | Leave a CommentThe form of my scope list convinced me to talk about Font Awesome Icons and custom CSS classes in bootScore, first. A pure HTML list is ugly, in my case: downright unreadable. No amount of rewording or restructuring helped. Shortening it was not an option either. It should continue to function as a complete scope […]
Read more »
Pimp Your bootScore
/ | Leave a CommentNow, I know what bootScore is: the missing link between Bootstrap and my WordPress-based site, a theme using the Bootstrap technique. In a pure instance, everything works well but in an inferior design. That’s intended by bootScore: You shall design your site by modifying the bootScore files in a child-theme. Thus, I obviously have to start […]
Read more »