Posts by brasofilo • 6,560 points
159 posts
-
2
votes2
answers179
viewsA: Error in using glob function with wordpress
You are passing a URL (get_template_directory_uri) but the glob is waiting for a Path/Path (get_template_directory). The following code works: $pasta = get_template_directory() . '/img/' ; $imagens…
-
2
votes2
answers2370
viewsQ: Integrate a jQuery plugin to a Wordpress theme
I’m using the Nivo Slider on my site from the basic example offered by the plugin. No file header.php of Theme I put the scripts and the <div> with the images pointing to a directory of Theme.…
-
6
votes2
answers2370
viewsA: Integrate a jQuery plugin to a Wordpress theme
The first observation is that it is more appropriate to create a plugin and make this functionality regardless of theme, thus, when changing theme, it is much easier to make the migration of Slider.…
-
1
votes3
answers290
viewsA: Unmark a category x of all wordpress posts
The logical thing is that this was done with the Bulk Edit Wordpress, as commented on answer from Ricardo. But I saw that the plugin Mass Set Categories consists of a single file; but the code…
-
1
votes2
answers236
viewsA: How can I adjust the height in a Wysiwyg box
The function wp_editor( $content, $editor_id, $settings = array() ) has a third parameter that has the setting you need, textarea_rows. The default values are: $settings = array( 'wpautop' =>…
-
1
votes4
answers4165
viewsA: How to pass parameters through the URL in Wordpress?
Interesting exercise. And following the tip of Robert Rozas (muchas Gracias! ) I arrived at the following code (see comments for detailed usage instructions and other explanations). In general, just…
-
3
votes6
answers5531
viewsA: Why use Javascript if there are so many other technologies to generate dynamic content?
I think a very complete answer was formulated by one of the founders of the Stack Exchange network, Jeff Atwood, in the article Javascript, the free language of the Web. Selected tickets: Radically…
-
5
votes6
answers5683
viewsA: Copy Wordpress database without using Phpmyadmin
Adminer The plugin is a Phpmyadmin within Wordpress. It is a complete Mysql database administration tool written in PHP. The author of the plugin, Frank Bültge, is a star of the German Wordpress…
-
2
votes2
answers996
viewsA: Credit System - Wordpress
I’m not sure if the desired result can be achieved because in this specific case it requires buying, installing and testing, but I suspect so. The plugin Easy Digital Downloads (free) has a huge…