G.S.
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateThanks,
I’ll use this plugin!
;=)
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateHi Tom,
only one thing, my question is not clear, or it is impossible to do what I asked?
Thanks
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateHi Tom,
now I try to explain what I want.
I have created a custom page template because in this page I want some widgets with different content than the widgets of other pages .
For accuracy, I want that the widgets with different content, appear in the right side of the custom page template.Why not use the built in Right Sidebar widget area? Any specific reason?
Because If I go in Appearance/Widget and put widgets with different content in right sidebar,when I go in my custom page template I see them, but I see also the widgets of others pages.
Can you tell me how I can get the desired result?
Thanks
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateThat being said, why are you adding these areas below the footer? Is that where you’re wanting them to show up?
Tom,
To be exact, I would like those areas on the right side of the page.
Thanks
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateHi Tom and alchymyth ,
thanks for your answers.
also, be aware that adding any html after the ‘get_footer()’ code will lead to invalid html of your site, and might lead to browser incompatibility.
Where should I put those items to get a valid html code?
That being said, why are you adding these areas below the footer? Is that where you’re wanting them to show up?
No Tom, I do not want those areas in the footer.
But I want those areas to the side of the page.
So where should I put the following items? :<div class = “grid-container”>
<div class = “grid-33”> <? php dynamic_sidebar (‘left-top’); ?> </ div>
<div class = “grid-33”> <? php dynamic_sidebar (‘mid-top’); ?> </ div>
<div class = “grid-33”> <? php dynamic_sidebar (‘top-right’); ?> </ div>
</ div>Thanks for your precious support!!!
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] Adding new widgets in new page templateHi alchymyth
thanks for your answer.
In this moment my site running in localhost.
The exact full text of the syntax error is :
Parse error: syntax error, unexpected ‘<‘ in C:\Users\GIUSEPPE\Documents\xampp offline\htdocs\caldaieimpianti\wp-content\themes\generatepress_child\custom_page.php on line 36
The full code of custom_page.php is :
<?php /* Template Name: Custom Page */ get_header(); ?> <div id="primary" <?php generate_content_class();?>> <main id="main" <?php generate_main_class(); ?> itemprop="mainContentOfPage" role="main"> <?php do_action('generate_before_main_content'); ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'page' ); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : ?> <div class="comments-area"> <?php comments_template(); ?> </div> <?php endif; ?> <?php endwhile; // end of the loop. ?> <?php do_action('generate_after_main_content'); ?> </main><!-- #main --> </div><!-- #primary --> <?php do_action('generate_sidebars'); get_footer(); <div class="grid-container"> <div class="grid-33"><?php dynamic_sidebar( 'left-top' ); ?></div> <div class="grid-33"><?php dynamic_sidebar( 'mid-top' ); ?></div> <div class="grid-33"><?php dynamic_sidebar( 'right-top' ); ?></div> </div>Thanks!!
Giuseppe
Hi Tom,
thanks for your answer.
I have updated version of my browser internet explorer and firefox and seems that problems are disappeared!Thanks a lot
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] How to create new page layout?;=)
Forum: Themes and Templates
In reply to: [GeneratePress] How to create new page layout?Yes!! Great!!
It works very well now!!
Thanks Tom!!
Giuseppe
Forum: Themes and Templates
In reply to: [GeneratePress] How to create new page layout?Hi Tom at this link http://imgur.com/aWLMyX0
I have uploaded an image that explains the problem that I have with child theme.Thanks
Forum: Themes and Templates
In reply to: [GeneratePress] How to create new page layout?Hi Tom
thanks for your answer.
I have resolved this problem, I have made as you said me.
However now with child theme, I have problem with menu bar.
Is it possible send here an image?Thanks