Jordi
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Strange URL icon on GutenbergI enable the “Displays text instead of icons on the toolbar” and evidently it has been solved. xD
But this is very strange.
VENUE is a template. This template:
<?php /** * The template for displaying the venue page * ***************** NOTICE: ***************** * Do not make changes to this file. Any changes made to this file * will be overwritten if the plug-in is updated. * * To overwrite this template with your own, make a copy of it (with the same name) * in your theme directory. See http://docs.wp-event-organiser.com/theme-integration for more information * * WordPress will automatically prioritise the template in your theme directory. ***************** NOTICE: ***************** * * @package Event Organiser (plug-in) * @since 1.0.0 */ //Call the template header get_header(); ?> <div id="primary" role="main" class="content-area"> <!-- Page header, display venue title--> <header class="page-header"> <?php $venue_id = get_queried_object_id(); ?> <h1 class="page-title"> <?php printf( __( 'Events at: %s', 'eventorganiser' ), '<span>' . eo_get_venue_name( $venue_id ) . '</span>' );?> </h1> <?php if ( $venue_description = eo_get_venue_description( $venue_id ) ) { echo '<div class="venue-archive-meta">' . $venue_description . '</div>'; } ?> <!-- Display the venue map. If you specify a class, ensure that class has height/width dimensions--> <?php if ( eo_venue_has_latlng( $venue_id ) ) { echo eo_get_venue_map( $venue_id, array( 'width' => '100%' ) ); } ?> </header> <?php eo_get_template_part( 'eo-loop-events' ); //Lists the events ?> </div><!-- #primary --> <!-- Call template sidebar and footer --> <?php get_sidebar(); ?> <?php get_footer();Thanks!!!
Unfortunately I think the developer is not active at all π
There are a method for insert code manually on Venue template for Rank Math?
Thanks a lot.
Forum: Fixing WordPress
In reply to: Copy Gutenberg block and his CSS?Hi!
I think this is not related to Astra.
When I copy a Block, only copies the HTML. But the CSS only appears on the page you created the block.Forum: Fixing WordPress
In reply to: Mac Keyboard Shortcuts for Gutenberg?Unfortunately doesn’t work. Even with Classic Editor block.
Forum: Fixing WordPress
In reply to: [NSFW] A product with more than 3.000 commentsPrecerencias -> Comentarios -> Separar los comentarios en pΓ‘ginas de X comentarios (Spanish)
Options -> Discussion -> Break comments into pages with [X] top level comments
Thanks a lot! π
Forum: Fixing WordPress
In reply to: [NSFW] A product with more than 3.000 commentsThe solution was more easy than I expected, sorry…
Only go to Preferences -> Discussion and mark “Pagination” for comments on WordPress. Works on Woocommerce too.
π
Forum: Plugins
In reply to: [Read More Without Refresh] Don’t work via do_shortcode(); on pages?Hi!
I have a “template” called “home-page.php”.
I find the solution! π
<?php echo do_shortcode('[read more]'.'YOUR HTML TEXT'. '[/read]'); ?>Thanks a lot for the plugin. π
Forum: Plugins
In reply to: [WooCommerce] Carrousel for Product Thumbnails on Woocommerce?With Elementor don’t work.
There are a free plugin or method for implement this with Woocommerce+Elementor?
Thanks a lot!
Forum: Fixing WordPress
In reply to: Make a WordPress more social? Likes and FollowsFinally, I find this: https://www.buddyboss.com/
Thanks!!
Forum: Fixing WordPress
In reply to: Advanced Redirections after change permalinks???No ideas?
Only manual redirections?
There are no wildcards for doing that?
Ups!Forum: Fixing WordPress
In reply to: Plugin for instert Code on posts for tutorials?Thanks a lot!! π
Forum: Fixing WordPress
In reply to: Make a WordPress more social? Likes and FollowsThanks!
Muchas gracias!
Forum: Fixing WordPress
In reply to: Chart with custom parameters on PHP with do_shortcodeHi! Finally I do this with Chart.js, more simple!!!
I put the “chart.min.js” using functions.php:
function codigoCharts() { wp_enqueue_script( 'chart-js', 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js', array(), true ); } add_action( 'wp_enqueue_scripts', 'codigoCharts');I get the data. One for month:
`$Enero = get_post_meta($post->ID, ‘biteqEnero’, true);
$Febrero = get_post_meta($post->ID, ‘biteqFebrero’, true);
$Marzo = get_post_meta($post->ID, ‘biteqMarzo’, true);
$Abril = get_post_meta($post->ID, ‘biteqAbril’, true);
$Mayo = get_post_meta($post->ID, ‘biteqMayo’, true);
$Junio = get_post_meta($post->ID, ‘biteqJunio’, true);
$Julio = get_post_meta($post->ID, ‘biteqJulio’, true);
$Agosto = get_post_meta($post->ID, ‘biteqAgosto’, true);
$Septiembre = get_post_meta($post->ID, ‘biteqSept’, true);
$Octubre = get_post_meta($post->ID, ‘biteqOct’, true);
$Noviembre = get_post_meta($post->ID, ‘biteqNov’, true);
$Diciembre = get_post_meta($post->ID, ‘biteqDic’, true);`And I put the data on the “chart.js” javascript code, painting the chart!:
<canvas id="biteqGrafica" width="400" height="400"></canvas> <script> var ctx = document.getElementById('biteqGrafica').getContext('2d'); var myChart = new Chart(ctx, { type: 'bar', data: { labels: ['ENERO', 'FEBRERO', 'MARZO', 'ABRIL', 'MAYO', 'JUNIO', 'JULIO','AGOSTO','SEPTIEMBRE','OCTUBRE','NOVIEMBRE','DICIEMBRE'], datasets: [{ label: 'INVERSIΓN', data: [<?php echo $Enero ?>, <?php echo $Febrero ?>, <?php echo $Marzo ?>, <?php echo $Abril ?>, <?php echo $Mayo ?>, <?php echo $Junio ?>,<?php echo $Julio ?>,<?php echo $Agosto ?>,<?php echo $Septiembre ?>,<?php echo $Octubre ?>,<?php echo $Noviembre ?>,<?php echo $Diciembre ?>], backgroundColor: [ 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)', 'rgba(191, 170, 111, 0.2)' ], borderColor: [ 'rgba(216, 191, 125, 1)' ], borderWidth: 0 }] }, options: { scales: { yAxes: [{ ticks: { beginAtZero: true } }] } } }); </script>