Forum Replies Created

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter allampatu

    (@allampatu)

    resolved applying my css code at #container3

    thanks anyway for your great and versatile plugin

    this is a cool request

    some customizations are like font size and line height or color are in the configuration panel. so you don’t need to customize the css

    Thread Starter allampatu

    (@allampatu)

    so, i’ve update wordpress and your plugin to the latest version

    i’ve erased everything and i did new fields, the new code is here:
    https://pastebin.com/KczKY4FB
    i see good in backend and media file works pretty good.

    i use this code to the page template
    <? $fields = ff_get_all_fields_from_section(‘Links’, ‘grouplinks’, ‘meta’, ‘post’, $post->ID);
    var_dump($fields);?>
    but it returns the value NULL

    can you still help me? thanks

    Thread Starter allampatu

    (@allampatu)

    sorry dude, now everything is disappeared

    Thread Starter allampatu

    (@allampatu)

    i added my new content but nothing is changed https://www.lauracredidio.com/links

    Thread Starter allampatu

    (@allampatu)

    using this piece of code `
    <? $fields = ff_get_all_fields_from_section(‘group’, ‘meta’, ‘post’, $post->ID);
    var_dump($fields);
    ?>

    i get this error

    array(1) { [“group”]=> array(1) { [1]=> array(3) { [“title”]=> string(16) “Titolo Attività” [“textarea”]=> string(171) “Warning: htmlspecialchars() expects parameter 1 to be string, array given in /homez.379/lauracre/www/wp-includes/formatting.php on line 2666
    >” [“image”]=> NULL } } }

    probably it is due to the error in the backend

    Thread Starter allampatu

    (@allampatu)

    wow, you’re right, initially i did the fields repeatable. i changed them in the builder, how can i update that code?

    Thread Starter allampatu

    (@allampatu)

    here my currently code
    https://pastebin.com/xKB8dD8i

    then, when i write a content in a field, automatically it shows up on the frontend page?

    thanks

    Thread Starter allampatu

    (@allampatu)

    Fatal error undefined function in …/php/classes.php line 648

    Yeah, it’s an empty page. Do you mean i have to load images with the content editor and then upload in the field?

    By the way, i’m working on a 3.4.1 wp version. I’ll update it asap

    Thread Starter allampatu

    (@allampatu)

    yeah, almost done.

    now i see what i wanted but there are still little issues.

    first of all i had to disable wp_enqueue_media() because it generated an error in backend, then, as you can see in the image posted, there are errors in the field.

    thanks for your help

    https://i41.tinypic.com/30cykc0.png

    Thread Starter allampatu

    (@allampatu)

    here you are
    https://pastebin.com/viyKrzMh

    i can’t understand how add my three fields

    thanks mate!

    Thread Starter allampatu

    (@allampatu)

    you are very kind.

    i used the builder to create a group with three field and i would like to repeat them three at once and so on

    First i create the section (post), then i created the group. after that i pasted the code to my functions file but i can see only the group title and not the fields inside.

    Thread Starter allampatu

    (@allampatu)

    the problem is due to my custom shortcode-event-list.php file

    <?php
    /**
     * Event List Widget: Standard List
     *
     * The template is used for displaying the [eo_event] shortcode *unless* it is wrapped around a placeholder: e.g. [eo_event] {placeholder} [/eo_event].
     *
     * You can use this to edit how the output of the eo_event shortcode. See https://wp-event-organiser.com/documentation/shortcodes/event-list-shortcode/
     * For the event list widget see widget-event-list.php
     *
     * For a list of available functions (outputting dates, venue details etc) see https://wp-event-organiser.com/documentation/function-reference/
     *
     ***************** 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 https://wp-event-organiser.com/documentation/editing-the-templates/ for more information
     *
     * WordPress will automatically prioritise the template in your theme directory.
     ***************** NOTICE: *****************
     *
     * @package Event Organiser (plug-in)
     * @since 1.7
     */
    global $eo_event_loop,$eo_event_loop_args;
    
    //Date % Time format for events
    $date_format = get_option('date_format');
    $time_format = get_option('time_format');
    
    //The list ID / classes
    $id = $eo_event_loop_args['id'];
    $classes = $eo_event_loop_args['class'];
    
    ?>
    
    <?php if( $eo_event_loop->have_posts() ): ?>
    
    <h4 class="eo-month">Prossimi eventi del Club</h4>
    	<ul id="<?php echo esc_attr($id);?>" class="<?php echo esc_attr($classes);?>" > 
    
    		<?php while( $eo_event_loop->have_posts() ): $eo_event_loop->the_post(); ?>
    
    			<?php
    				//Generate HTML classes for this event
    				$eo_event_classes = eo_get_event_classes(); 
    
    				//For non-all-day events, include time format
    				$format = ( eo_is_all_day() ? $date_format : $date_format.' '.$time_format );
    			?>
    
    				<li class="<?php echo esc_attr(implode(' ',$eo_event_classes));?>">
    				<p class="eo-date"><span class="day"><?php echo __('','eventorganiser') . ' '.eo_get_the_start('d'); ?></span><br/>
    				<?php echo __('','eventorganiser') . ' '.eo_get_the_start('M'); ?></p>
    			<div class="title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" ><?php the_title(); ?></a></div>
    			</li>
    
    		<?php endwhile; ?>
    
    	</ul>
    
    <?php elseif( ! empty($eo_event_loop_args['no_events']) ): ?>
    
    	<ul id="<?php echo esc_attr($id);?>" class="<?php echo esc_attr($classes);?>" >
    		<li class="eo-no-events" > <?php echo $eo_event_loop_args['no_events']; ?> </li>
    	</ul>
    
    <?php endif; ?>

    is it possible to keep this settings but adding the running class?

    if i edit the event-organiser-event-functions.php file, should i put it in my theme folder?

    thanks in advance

    Thread Starter allampatu

    (@allampatu)

    Theoretically i haven’t any occurrence events, so for this i can’t get the running status.

    maybe a php trick could do the magic? ??

Viewing 15 replies - 16 through 30 (of 34 total)