royamathew
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Remove blog summary from Virtue themeIt was a while back but I believe under settings –> excerpts –> i removed any auto generation.
Forum: Themes and Templates
In reply to: [Virtue] Google map at bottom for the contact pageThanks Hannah exactly what I wanted.
Forum: Themes and Templates
In reply to: [Virtue] Google map at bottom for the contact pageHi Hannah,
Thank you for the code. The code moves the contact form further down leaving the heading on top and leaves a lot of space to the right.The following works for me but leaves header to the left
@media (min-width: 900px) {
.contactformcase .contactform {
padding-left: 100px;
}
}is there a way i can move the header of the form or reduce the column width of the table in which the contact form appears. Your support is appreciated.
Forum: Themes and Templates
In reply to: [Virtue] Google map at bottom for the contact pagehttp://cotrim.ca/contact/
The contact form should be below the picture and the form is too wide.
Thanks for the support.
RoyForum: Themes and Templates
In reply to: [Virtue] Google map at bottom for the contact pageThank you for the reply. I like the contact form you have would it be possible to resize the width of the form??
Forum: Themes and Templates
In reply to: [Virtue] Google map to the bottom?Hi I am new at wordpress and have the same issue can you please advice where I can find that code to pull the map at the bottom. I donot see a contact.php.
Thank youForum: Themes and Templates
In reply to: [Virtue] Adding video to sliderthanks
Forum: Themes and Templates
In reply to: [Virtue] Datepicker image not showing up in virtue themeyup fixed it. Thanks Hannah
Forum: Themes and Templates
In reply to: [Virtue] Defining body class for custom phpmy template page another.php has the following code
<?php /* Template Name: Another
*/
?><?php add_filter(‘kadence_display_sidebar’, ‘kad_sidebar_on_special_page’);
function kad_sidebar_on_special_page($sidebar) {
if (is_page_template(‘Another.php’)) {
return false;
}
return $sidebar;
} ?><div id=”pageheader” class=”titleclass”>
<div class=”container”><?php get_template_part(‘templates/page’, ‘header’); ?>
</div><!–container–>
</div><!–titleclass–><div id=”content” class=”container”>
<div class=”row”>
<div class=”main <?php echo kadence_main_class(); ?>” role=”main”>
<?php get_template_part(‘templates/content’, ‘page’); ?>
</div><!– /.main –>any thoughts
Forum: Themes and Templates
In reply to: [Virtue] Defining body class for custom phpHi,
Thanks. I did try the code but it does not make any change. Is there any additional code i should be adding. Reply is much appreciatedForum: Themes and Templates
In reply to: [Virtue] Defining body class for custom phpyes i saved the fullwidth page template pagefullwidth.php as another page template (Another.php). But i am not sure how to specify the style as a fullwidth page
Forum: Themes and Templates
In reply to: [Virtue] How to add tabs to a customs php templateForum: Themes and Templates
In reply to: [Virtue] How to add tabs to a customs php templateNo it does nothing other than add “/tab” at the end of the forms
Forum: Themes and Templates
In reply to: [Virtue] How to add tabs to a customs php templateHi Kadence…I am really new at this. Is code below what you meant
<?php echo do_shortcode(‘[tabs]’); ?>
<?php echo do_shortcode(‘[tab title=”Test1″]’); ?>
<p>Content here</p>
<?php echo do_shortcode(‘[/tab]’); ?><?php echo do_shortcode(‘[tab title=”Test2″]’); ?>
<p>Content here</p>
<?php echo do_shortcode(‘[/tab]’); ?><?php echo do_shortcode(‘[/tabs]’); ?>
Forum: Themes and Templates
In reply to: [Virtue] How to add tabs to a customs php templateHi Kadence, I copied this code from some forum on tabs as below
<?php
$tmwp = ‘[tabs][tab title=”title1″]
<p>content
</p>
[/tab]
[tab Title=”title2″]
<p> add content</p>[/tab][/tabs]’;
echo do_shortcode( $tmwp );
?>It works. But when i replace the content with forms i have it gives an error
Parse error: syntax error, unexpected T_STRING in /homepages/..wp-content/themes/virtue/templates/newfile.php on line 110the content is a form and has validation in it