Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
  • #226452

    How can i display a entire page content on a widget?


    Hi Guilherme!

    You can use shortcodes inside a Text Widget so you can place all the content of the page on it.

    Best regards,


    I did it but I want it to do itself if I change the page content, can I?


    Not possible as far as i know, maybe there is a plugin out there.

    Best regards,


    If i use Iframe does it works?


    It should but you’d need to tweak that page appearance (hide footer, header, etc).



    Which should look like this right?

    Can u help me with the code so I can make it work better without borders and paddings and stuff? (I’m not a programmer pro D:)


    Where’s the iframe in that page?


    This page is the page that should be in the iframe. The page that I’m trying to use the iframe is:
    The footer area I used the short codes but I’m looking to use the frame.


    So you want to show all the content from /rodape as a footer in the main page? you should need to edit footer.php then and put the iframe code there.



    Where in the code should I do?

    		global $avia_config;
    		$blank = isset($avia_config['template']) ? $avia_config['template'] : "";
    		//reset wordpress query in case we modified it
    		//get footer display settings
    		$the_id 				= avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
    		$footer 				= get_post_meta($the_id, 'footer', true);
    		$footer_widget_setting 	= !empty($footer) ? $footer : avia_get_option('display_widgets_socket');
    		//check if we should display a footer
    		if(!$blank && $footer_widget_setting != 'nofooterarea' )
    			if( $footer_widget_setting != 'nofooterwidgets' )
    				//get columns
    				$columns = avia_get_option('footer_columns');
    				<div class='container_wrap footer_color' id='footer'>
    					<div class='container'>
    						//create the footer columns by iterating
    						$firstCol = 'first';
    				        	case 1: $class = ''; break;
    				        	case 2: $class = 'av_one_half'; break;
    				        	case 3: $class = 'av_one_third'; break;
    				        	case 4: $class = 'av_one_fourth'; break;
    				        	case 5: $class = 'av_one_fifth'; break;
    						//display the footer widget that was defined at appearenace->widgets in the wordpress backend
    						//if no widget is defined display a dummy widget, located at the bottom of includes/register-widget-area.php
    						for ($i = 1; $i <= $columns; $i++)
    							echo "<div class='flex_column $class $firstCol'>";
    							if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column'.$i) ) : else : avia_dummy_widget($i); endif;
    							echo "</div>";
    							$firstCol = "";
    				<!-- ####### END FOOTER CONTAINER ####### -->
    	<?php   } //endif nofooterwidgets ?>
    			<!-- end main -->
    			$copyright = avia_get_option('copyright', "&copy; ".__('Copyright','avia_framework')."  - <a href='".home_url('/')."'>".get_bloginfo('name')."</a>");
    			//you can also remove the backlink by adding [nolink] to your custom copyright field in the admin area
    			if($copyright && strpos($copyright, '[nolink]') !== false)
    				$kriesi_at_backlink = "";
    				$copyright = str_replace("[nolink]","",$copyright);
    			if( $footer_widget_setting != 'nosocket' )
    				<footer class='container_wrap socket_color' id='socket' <?php avia_markup_helper(array('context' => 'footer')); ?>>
                        <div class='container'>
                            <span class='copyright'><?php echo $copyright . $kriesi_at_backlink; ?></span>
                                echo "<nav class='sub_menu_socket' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
                                    $avia_theme_location = 'avia3';
                                    $avia_menu_class = $avia_theme_location . '-menu';
                                    $args = array(
                                        'menu_id' =>$avia_menu_class,
                                        'container_class' =>$avia_menu_class,
                                        'fallback_cb' => '',
                                echo "</nav>";
    	            <!-- ####### END SOCKET CONTAINER ####### -->
    			} //end nosocket check
    			echo "<!-- end main --></div>";
    		} //end blank & nofooterarea check
    		//display link to previeous and next portfolio entry
    		echo avia_post_nav();
    		echo "<!-- end wrap_all --></div>";
    		{ ?>
    			<!--[if lte IE 8]>
    			<style type="text/css">
    			.bg_container {
    			-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $avia_config['fullscreen_image']; ?>', sizingMethod='scale')";
    			filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $avia_config['fullscreen_image']; ?>', sizingMethod='scale');
    			echo "<div class='bg_container' style='background-image:url(".$avia_config['fullscreen_image'].");'></div>";
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.
    <a href='#top' id='scroll-top-link' <?php echo av_icon_string( 'scrolltop' ); ?>></a>
    <div id="fb-root"></div>

    And what should I write? <iframe ???></iframe>?


    Remove from 23-118 and put the iframe code there:

    <iframe src="" frameborder="0" style="width: 100%; height: 613px;"></iframe>

    Best regards,


    It worked but not as I was thinking. The copyright vanished and now I have 2 admin bars.


    Now you have to re-create the copyright in the other source iframe page. Regarding the admin bars, you can disable them in Users > Your Profile.

    If you need more assistance please contact a developer here, because this is already out of the scope of the support we can offer.

    Best regards,


    how can I make the sidebar from the blog not interfere on the footer widgets?




    Try adding this code to the Quick CSS:

    .single #av_section_1 > div > div {
        width: 1210px;
        border-right: 0;
    .single #after_section_1 {
        display: none;



    That worked just fine, thanks!!


    You are welcome, glad we could help :)


Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘Display page content in widget’ is closed to new replies.