Category Archives: Sin categoría

Conferencia final del proyecto IPS4NEETs en Ptuj

La conferencia final del proyecto IPS4NEETs se celebró en Ptuj (Eslovenia) el 5 de octubre de 2021 organizado por el socio principal Public University Ptuj

¡Estamos muy contentos de haber llegado hasta aquí! Llegar a este punto no fue fácil. En estos tiempos bastante...

Read more

COVID-19: Los neets son los más afectados

Con la lenta vuelta a la normalidad que estamos viviendo, comenzamos a enfrentar las consecuencias de la pandemia de COVID-19. La siguiente crisis no elige a sus víctimas y podría causar daños a largo plazo a los grupos más vulnerables, si no se trata adecuadamente. La población...

Read more

How to Display post attachment count in admin column in WordPress

Sometimes you have a post with multiple attachments and it would be nice to see a count of the total media attached to a post. To see this you only need add this snippet to the functions.php

add_filter('manage_posts_columns', 'posts_columns_attachment_count', 5);...
Read more

Cómo mostrar el recuento de adjuntos en una columna del panel de administración en WordPress

A veces tenemos una publicación con varios archivos adjuntos y queremos ver un recuento del total de los medios adjuntos. Para ver esto solo necesitamos agregar este fragmento de código al functions.php

add_filter('manage_posts_columns', 'posts_columns_attachment_count', 5);...
Read more

WordPress Dashboard block only for administrators

When in WordPress, a user registers access to the Dashboard, although at first only access to the options that are allowed depending on the role that has assigned in many occasions we may be interested that they can not access, for this we must put the following code to our...

Read more

Fix broken images automatically

Occasionally we have times when we have broken image links on our website and replacing them one by one isn’t easy, so adding this simple piece of code can save you a lot of headaches.

$('img').error(function(){
     $(this).attr('src', ‘img/broken.png’);
});

 

Read more

Comprobar si jQuery está cargado

Un problema muy común cuando se programa en grandes proyectos web es comprobar si una determinada librería está cargada o no, una de las más habilituales es jQuery, si queremos comprobar debemos hacer lo siguiente:

if (typeof jQuery == 'undefined') {

    // jQuery IS NOT loaded...
Read more

Users who do not explain their IT issues well

Those who are dedicated to computer science, no matter what branch, we have found at some point with a series of users without too much knowledge, ask us impossible things, or just do not understand anything we do.

Via redditblog we can see a series of examples of this problem

Read more

Force Download Files in PHP

One of the most common problems that we find is to force the download of a certain file from the client’s browser, thus preventing it from opening.
For this we can use the following function in PHP.

function force_download($file)
{
    if ((isset($file))&&(file_exists($file))) {...
Read more

Chistes para programadores – ¿Tú de quien eres?

Como buena empresa de programación tenemos nuestros dilemas diarios, que si Java es mejor que C, que si programar en ensamblador es entretenido, y en casi todo nos ponemos de acuerdo, menos en una cosa el estilo de las llaves.

¿Tú de quien eres?

Vía http://www.hongkiat.com/blog/...

Read more

Rúa Pilar Miró n 6 Santiago de Compostela

Jersey St , Manchester, Greater Manchester M4 6JG, GB

T. 609 538 171 - 634 59 34 43

info@teslatechnologies.com