Forum Replies Created

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • in reply to: Portfolio Template using shortcodes #1213665

    Hi Mike,
    Currently the server is having some troubles due to a plugin we installed but it should open a contact form. Is it possible to open the same iframe in the second button?

    in reply to: Portfolio Template using shortcodes #1209903

    Hi Jordan,
    Sorry for the wrong info.

    in reply to: Portfolio Template using shortcodes #1208645

    Exactly.
    Like the first button do.

    in reply to: Portfolio Template using shortcodes #1208486

    Hi Jordan,
    sorry for the delay of this answer. I resolved all my problems but the iframe doesn’t work in the “av_button_big”. I have two buttons that do the same thing but only the first one works right while the second one opens the url in another page. The button that doesn’t work is at the bottom of the page.

    Best Regards

    in reply to: SQL Query Problems #1203337

    Hi Ismael,
    I’m sorry, I didn’t see you first question. However I resolved my problem with nested query. Thanks anyway.

    in reply to: Portfolio Template using shortcodes #1203336

    Hi nikko,
    Thank you for helping me.

    in reply to: SQL Query Problems #1202177

    Hi Ismael,
    misano_services is a database table that I created manually

    in reply to: SQL Query Problems #1201389

    So WordPress & Enfold don’t support the word “AND” in sql_query?

    in reply to: Portfolio Template using shortcodes #1200775

    Hi nikko,
    Thank you very much for everything you’ve done. It’s awesome now. These days I’ll try to modify informations of the page.
    – How can I store those values? I found only foreach loops method to print all values.
    – I don’t want repeated elements on the page but how I wrote here (“https://kriesi.at/support/topic/sql-query-problems/”) I can’t use the word “AND” to select only one element.
    – Seems not works on mobile phone. Is it a problem of shortcodes, isn’t?

    in reply to: Portfolio Template using shortcodes #1200120

    Is there anyone who can help me?

    in reply to: Portfolio Template using shortcodes #1199019

    Hi nikko.
    Thanks for your answer.
    Here the ftp access.

    in reply to: Portfolio Template using shortcodes #1198667

    Hi nikko,
    Thanks for your answer. I tried what you said but nothing changed.

    in reply to: Portfolio Template using shortcodes #1198666

    Hi nikko,
    Thanks for your answer. I tried what you said but nothing is changed.

    in reply to: Portfolio Template using shortcodes #1198133

    I understood the problem and it’s the same for both. I found the id for each image. For color section I passed in the attachment the id of the image. But now there is another problem: the page I’ve created with the enfold layout is different using only shortcodes.
    How is it possible?

    in reply to: Portfolio Template using shortcodes #1197987

    Tranks Nikko for your answer.I’m using the Conditional Tags as you said but now I have two problems.
    Mansory Gallery doesn’t accept link to images but works with ids and I think that every image has an id but I can’t found it. I must store any information about a place in a custom database. Is there a way to do it?
    [av_masonry_gallery ids="25810,25805,25800,25795,25790,25785" caption_elements="none" caption_styling="" caption_display="always" size="fixed" orientation="" gap="1px" columns="3" av-medium-columns="" av-small-columns="" av-mini-columns="" items="24" paginate="none" color="" custom_bg="" overlay_fx="" animation="active" container_links="active" id="gallery" custom_class="" av_uid="av-k6w4d39r"]

    Color section can’t get the url from $link_image_cs. echo $link_image_cs; print the correct url. Here is the code:
    echo do_shortcode('[av_section min_height="50" min_height_pc="25" min_height_px="500px" padding="default" custom_margin="0px" custom_margin_sync="true" color="main_color" background="bg_color" custom_bg="" background_gradient_color1="" background_gradient_color2="" background_gradient_direction="vertical" src="'.$info->image_cs.'" attachment="25785" attachment_size="full" attach="scroll" position="center center" repeat="stretch" video="" video_ratio="16:9" overlay_enable="aviaTBoverlay_enable" overlay_opacity="0.3" overlay_color="#000000" overlay_pattern="" overlay_custom_pattern="" shadow="no-border-styling" bottom_border="no-border-styling" bottom_border_diagonal_color="#333333" bottom_border_diagonal_direction="" bottom_border_style="" custom_arrow_bg="" id="" custom_class="" aria_label="" av_element_hidden_in_editor="0" av_uid="av-jgp3h75a"]');

    in reply to: Create same pages with different informations #1197641

    Thanks for your answer Jordan

    in reply to: Portfolio Template using shortcodes #1194604

    I also have another question. If my code works for my purpose, is it possible create different template for portfolio items and set the template for each portfolio item?

    in reply to: Portfolio Template using shortcodes #1194602

    Hi Victoria, this is the code I’m testing now. It works but I don’t know if it can crash for some element like color section etc.

    <?php
    /*
    	Template Name: Hotel Template
    */
    	if ( ! defined('ABSPATH') ){ die(); }
    	
    	global $avia_config;
    
    	/*
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    
     	 if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
     	 
     	 do_action( 'ava_after_main_title' );
    	 ?>
    			<?php
    			global $wpdb;
    			$title_name = $wp_query->queried_object->post_name;
    			$customers = $wpdb->get_results("SELECT * FROM wp_misano_place WHERE name_control='$title_name'");
    			?>
    			<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
    			<div class='container'>
    
    				<main class='template-page template-portfolio content  <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'portfolio'));?>>
    				
    				<div class='test'>
    				<?php foreach($customers as $customer){ ?>
    				<center><?php echo $customer->name; ?></center>
    				<center><?php echo $customer->telephone; ?></center>
    					<center><?php echo $customer->email; ?></center>
    				<center><?php echo $customer->address; ?></center>
    				<center><?php echo $customer->image_link; ?></center>
    				<?php } ?>
    				<?php echo do_shortcode('[av_textblock size="" font_color="" color="" av-medium-font-size="" av-small-font-size="" av-mini-font-size="" av_uid="av-k7yxfp65" custom_class="" admin_preview_bg=""]'.$title_name.'[/av_textblock]'); 
    				?>
    				</div>
    
                        <?php
                        /* Run the loop to output the posts.
                        * If you want to overload this in a child theme then include a file
                        * called loop-page.php and that will be used instead.
                        */
    
                        $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
                        get_template_part( 'includes/loop', 'portfolio-single' );
                        ?>
    
                    <!--end content-->
    				</main>
    
    				<?php
    
    				//get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				get_sidebar();
    
    				?>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php 
    		get_footer();
    		
Viewing 18 posts - 1 through 18 (of 18 total)