Posts by Alexandre Simon • 86 points
4 posts
- 
		1 votes1 answer86 viewsQ: Function loading problem Node socket.ioI have the following code: module.exports = function(app) { app.get('/', function(req, res) { res.render('chat/index'); var io = app.get('io'); io.on("connection", function(socket) {… 
- 
		2 votes1 answer524 viewsA: How to dynamically display the category name of my post within the text in wordpressthe_category() usually works for me. It returns the list of categories linked to the post already with links. https://codex.wordpress.org/Function_Reference/the_category… 
- 
		0 votes1 answer209 viewsA: Set Wordpress Thumbnail as backgroundYou can insert the url of the thumbail into a style inside the div, this way every time you change the thumbnail it will be changed in the background of the div too: <div style="background-image:… 
- 
		1 votes1 answer339 viewsA: How to bring the javascript file to the wordpress theme via codeI use it like this. For javascript: wp_enqueue_script('scripts', get_bloginfo('template_url') . '/assets/js/scripts.js',array('jquery')); To style: wp_enqueue_style('responsive',…