Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Search Results for 'page '
-
AuthorSearch Results
-
In forum: Virtue Theme
Topic: Demo content
In forum: Pinnacle ThemeIn reply to: Custom google maps colour in cintacts page
Thank You Ben!
This is my code, I put it in the text editor of the page but when I see the prew I can only read it as text. Where I go wrong?var styles = [
{
featureType: ‘water’,
elementType: ‘all’,
stylers: [
{ hue: ‘#ffffff’ },
{ saturation: -100 },
{ lightness: 100 },
{ visibility: ‘on’ }
]
},{
featureType: ‘landscape’,
elementType: ‘all’,
stylers: [
{ hue: ‘#cc9999’ },
{ saturation: 9 },
{ lightness: -21 },
{ visibility: ‘on’ }
]
},{
featureType: ‘road’,
elementType: ‘all’,
stylers: [
{ hue: ‘#eeeeee’ },
{ saturation: -100 },
{ lightness: 81 },
{ visibility: ‘on’ }
]
},{
featureType: ‘poi’,
elementType: ‘all’,
stylers: [
{ hue: ‘#CCCCCC’ },
{ saturation: -100 },
{ lightness: 9 },
{ visibility: ‘on’ }
]
},{
featureType: ‘road.highway’,
elementType: ‘all’,
stylers: [
{ hue: ‘#eeeeee’ },
{ saturation: -100 },
{ lightness: 81 },
{ visibility: ‘on’ }
]
}
];
var options = {
mapTypeControlOptions: {
mapTypeIds: [ ‘Styled’]
},
center: new google.maps.LatLng(54.32, 10.100000000000023),
zoom: 4,
mapTypeId: ‘Styled’
};
var div = document.getElementById(‘map’);
var map = new google.maps.Map(div, options);
var styledMapType = new google.maps.StyledMapType(styles, { name: ‘Styled’ });
map.mapTypes.set(‘Styled’, styledMapType);In forum: Pinnacle ThemeIn reply to: Custom google maps colour in cintacts page
January 21, 2015 at 5:35 pm #28201You would have to enter your code in the page, you couldn’t use the map the theme adds.
Ben
In forum: Pinnacle ThemeIn forum: Virtue ThemeIn reply to: mobile slider not showing in a mobile phone
January 21, 2015 at 3:14 pm #28192You are using wp-super cache, (I really don’t recommend this plugin. w3 total is better).
With that plugin is caches the page. You either need to turn that off for mobile (so it doesn’t show the mobile users a cached desktop page) or turn off caching for the front page (i don’t know if this plugin has either option).Ben
In forum: Virtue ThemeIn reply to: Catalog not lining up
In forum: Virtue ThemeIn reply to: Catalog not lining up
This reply has been marked as private.January 21, 2015 at 2:02 pm #28185In forum: Virtue ThemeIn reply to: Catalog not lining up
January 21, 2015 at 1:26 pm #28181The menu title can be anything. For woo-commerce the login page should be your my-account page.
The logout should be a custom url (you don’t create a page) the url is your site name with
wp-login.php?action=logoutat the end.
Ben
In forum: Virtue ThemeIn reply to: Catalog not lining up
Issue 1. Fixed it, thanks.
Issue 2. So I create two new pages with the title login & logout but what do I type into the pages that forces a login/logout when clicked on. Next I go to menues and put the two pages in the topbar menu. Afterwards writing in the css code. That should do it? Also it’s WooCommerce login/logout and not WP Login.In forum: Virtue ThemeIn reply to: bbpress sidbar
If you want bbpress specific you can either let the primary be your bbpress and use custom for everywhere else or hook into the sidebar templates with your child theme and add a custom call to a custom widget area.
Hi Ben,
I can define the primary for bbpress and the custom sidebar for the few pages and archives in virtue settings. No problem!
But for all the blog entries I have to define the sidebar for each article. Would be difficult to do this for all my blog-entries…
Is there a other way to set a custom sidebar in all articles.Thanks
MatthiasIn forum: Virtue ThemeIn reply to: loose my count of FB share button?
hey,
I’m using BWS Plugin. If you have a look at my source code page there : http://www.mariemazas.fr
could you please tell me if it’s OK?
Many thanks, BenIn forum: Virtue ThemeIt looks super unprofessional. Pictures are right up under each other, it supposed to be a slideshow type look but its not. This may be something simple but at this point i don’t know what to do. If anyone can help it will be greatly appreciated. Here is a link so you will know what I’m talking about it looks horrible. *Login to see link
In forum: Virtue ThemeHi,
I use Virtue parent theme, not a child one.
I would like to upgrade my Virtue theme today, but I wonder if the FB button that I put on my page will disappear or will be modified on zero.
Because maybe the code in the button is changing the header? I don’t know.
Shall I loose the count of “share” that is on my FB button?
Thanks a lot, sorry for my bad english
MarieIn forum: Virtue ThemeIn reply to: Catalog not lining up
You’re a wizard Hannah! That works wonderfully… I’ve been searching for this for ages now. Thanks a lot. You wouldn’t know how to create a login/logout page, so that the login only shows when you’re not logged in, and the logout only shows when you are logged in? I looked at the threads here on this forums already, and every thread on the web but haven’t been able to make something work.
This thread was solved, but Ben didn’t post the code that solved it so I’m still in need of help.
https://www.kadencewp.com/support-forums/topic/how-to-putadd-login-button/again, thanks a lot Hannah.
In forum: Virtue ThemeJanuary 21, 2015 at 5:28 am #28134Hi BEn,
The plugin attachs images to user´s posts. This function is the plugin’s way to 1. turn attached images into featured images and 2. Show featured images in the post.
The function does its job showing the pictures in the post, but do you know then why the function is executed twice?
There is another way to show the attached images without setting functions in functions.php, that is to including this code in single.oho, but I couldn´t find the right place to put it, does this sound more achievable to you?
<?php // @ http://wp-mix.com/set-attachment-featured-image/ if (has_post_thumbnail()) { // display the featured image the_post_thumbnail(); } else { // set the featured image $attachments = get_posts(array( 'post_type' => 'attachment', 'post_mime_type'=>'image', 'posts_per_page' => 0, 'post_parent' => $post->ID, 'order'=>'ASC' )); if ($attachments) { foreach ($attachments as $attachment) { set_post_thumbnail($post->ID, $attachment->ID); break; } // display the featured image the_post_thumbnail(); } } ?>In forum: Virtue ThemeIn reply to: Virtue Info Box alightment
In forum: Virtue ThemeIn reply to: Homepage loads slowly
I try to re-install it, and delete all the related files. Then after activating the minify option, an error shows:
“Minify Auto does not work properly. Try using Minify Manual instead or try another Minify cache method. You can also try a lower filename length value manually on settings page by checking “Disable the Minify Auto automatic filename test””
I try to do as the instruction by disabling the box “Disable the Minify Auto automatic filename test”, when save all settings, the page loads a longtime and becomes to “page not found”… then I refresh the page, the box is always not checked. but the minify box is checked in general settings. Not sure the minify option is turned on, but the page loads faster!In forum: Virtue ThemeJanuary 20, 2015 at 7:57 pm #28098Hello.
I am getting duplicated attached images in the frontend, I cant find where in Virtue theme is this happening. I also oppened a case in WP forums here:
The plugin User-Submitted-Posts needs some code in functions.php so the uploaded images turn featured images and then they are shown in the published post (I followed this tutorial: *Login to see link The problem is when I add that code in functions.php, I get the featured pictures above the topbar, in all my pages and posts. Whyy do you think this is happening?
an example page with the error is: *Login to see link and a screenshot is: *Login to see link
The functions.php file got like this:
<?php// featured images
add_theme_support('post-thumbnails');
set_post_thumbnail_size(300, 300, true); // width, height, hard crop// display user-submitted images
function usp_display_images($content) {
global $post;
$args = array('order'=>'ASC', 'post_type'=>'attachment', 'post_parent'=>$post->ID, 'post_mime_type'=>'image', 'post_status'=>null);
$items = get_posts($args); ?><div class="usp-image">
<?php foreach ($items as $item) {
$atts = wp_get_attachment_image_src($item->ID, 'medium');
$full = wp_get_attachment_image_src($item->ID, 'full'); ?>
<a href="<?php echo $full[0]; ?>" target="_blank"><img src="<?php echo $atts[0]; ?>" width="<?php echo $atts[1]; ?>" height="<?php echo $atts[2]; ?>" alt=""></a>
<?php }
$author = get_post_meta($post->ID, 'user_submit_name', true);
$url = get_post_meta($post->ID, 'user_submit_url', true);
if (filter_var($url, FILTER_VALIDATE_URL) !== false) {
echo '<span class="usp-author-link">Posted by <a href="' . $url . '">' . $author . '</a></span> ';
} ?>
</div><?php return $content;
}
add_filter('the_content', 'usp_display_images');
?>and I believe I didnt touch the template single.php file because I didnt find it.
In forum: Virtue ThemeIn reply to: Create a landing page
Very clever solution.
I’ve been messing around all day looking at loads of landing page plugins, all of which are a complete waste of time and mostly very poorly-written. None of them do anything that is not better done using WP default functionality or another, more robust plugin.
This solution is super-simple and will allow me to create unlimited landing pages using all the standard features of WordPress and Woocommerce including shortcodes.
Thanks 🙂In forum: Virtue ThemeIn reply to: Create a landing page
Hi Ben
That’s fantastic – but a little fiddling in my usual trial-and-error manner suggests that it’s actually the permalink that assigns the class, not the title (but the permalink defaults to being the same as the title):
http://allabouttea.co.uk/about/portsmouth-tea-factory-shop/landing-page/ -
AuthorSearch Results


