Author: Riccardo

WP essentials

References to possible WP plugins for this web: 1 – WPUF (front end editing), 2 – Lightboxes, 3 – Polls/rating, 4 – External links FB style, 5) Backup/copy/clone/migrate, &) Speed, cache, SEO…

My sites

Comercial sites SOL.COM (sold – HTML, ASPX – 1996, 2004, 2005, 2006, 2007) SevillaOnLine.es (HTML – 2005) InfoSevilla.com (Drupal 7 – 1999) Spainonline.com (Drupal 7 – 1999) VisitarAmsterdam.info (Drupal 7 – 2008) InfoNuevaYork.es – (lost – HTML – 2008)   Social/Non-profit sites GlobalOpinion.eu (abandoned and lost 🙁 – Drupal 4 – 2008) HumanProgress.net (Drupal 7 Read more…

Italian elections 2022. Who is Giorgia Meloni?

In the first ever summer elections held in Italy, Giorgia Meloni’s party Fratelli d’Italia emerged victorious with 26% of the vote. It is the first time that a far-right party will take the leading role in a post-war government, and Meloni stands a good chance of becoming Italy’s first ever female prime minister. Along with Read more…

Some WP codes

1) Workarounds for WPUF’s missing edit link! (button) https://developer.wordpress.org/reference/functions/get_the_id/ https://stackoverflow.com/questions/4893435/getting-the-wordpress-post-id-of-current-post https://rudrastyh.com/wordpress/get-post-id.html post-id: <a href=/dashboard/edit/?pid={return_post_id]>EDIT</a>{return_post_id]= for return_post_id to work you need the following code in the theme’s functions.php /* —– START —— */add_shortcode( ‘return_post_id’, ‘RRB_return_post_id’ );function RRB_return_post_id() {return get_the_ID();}/* —– END —– */ EDIT 2) Images -> VIDEO in lightbox! Plextube.nl link:https://plextube.nl/videos/embed/e530faba-8bd2-4818-b32c-2b64a20256ba?autoplay=1&title=0&warningTitle=0&p2p=0(can copy video code from Read more…

Julia program language

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET). Read more…

Embed for PurplePower – tryouts

Iframe 01 code <script type=’text/javascript’ charset=’utf-8′> var iframe = document.createElement(‘iframe’); document.body.appendChild(iframe); iframe.src = ‘https://purplepower.is/wp-content/uploads/2021/11/pp-base02ROUND.jpg’; iframe.width = ‘320’; iframe.height = ‘190’; iframe.top = ‘0’; iframe.left = ‘0’; iframe.overflow = ‘hide’; iframe.link = ‘https://purplepower.is/videos/logo-and-embed/’; </script> Iframe 02 code <div id=”contentframe” style=”top: 160px; left: 0px;”> <iframe src=”http://stackoverflow.com” style=”height:100%;width:100%;position:absolute;top:0px;bottom:0px;”>&lt;/div&gt; </iframe> </div> Code references: https://stackoverflow.com/questions/15587823/iframe-positioning https://stackoverflow.com/questions/10210774/positioning-content-of-an-iframe-within-a-containing-div https://blog.theodo.com/2018/01/responsive-iframes-css-trick/ One problem… the Read more…

WordPress Lightbox