RenaissanceJames
Forum Replies Created
-
Sorry ignore that, I thought about it and tried visiting the urls in the browser I use for the admin, this fixed it there and then it appeared on the front of the site.
Thanks
Hi, I am experiencing this issue on
https://www.comptonverney.org.uk/ – translator in the footerI have tried the above steps without any change, Chinese has been selected as a language for nearly a year, and is still selected in the admin.
I also note it doesn’t show the Chinese Flag in the admin for ordering the languages.
Thanks
JamesForum: Plugins
In reply to: [Max Mega Menu] Mega Menu Panel PaddingHi Tom,
I did manage to work out what I needed to do to override this as the client needed this fixed asap so I deleted the offending code from the Plugin.
Forum: Plugins
In reply to: [Naked Social Share] Icons UsedHi,
I thought I had responded to this, excellent support and works amazingly, this is just the plugin I’d been searching for.
Forum: Plugins
In reply to: [Custom Related Posts] Get a list of Post ID's to be used by another pluginI have worked out a way to get this out us get_post_meta and a couple of foreach.
Included below incase anyone else would like this.
$array = get_post_meta($post_id, "crp_relations_to"); foreach ($array as $row) : foreach ($row as $key => $sub_array) : $keys .= $key . ', '; endforeach; endforeach; echo $keys;
Forum: Plugins
In reply to: [Custom Related Posts] Get a list of Post ID's to be used by another pluginHi Brecht,
Basically I have created 6 different views to display related posts/pages etc. and use shortcode ultimate to create these layouts.
When someone adds a post/page they can choose the related posts and which layout to use and this then displays, to do this I need it to bring in related posts, I can set it up so that they have a select field and they choose the posts, but what I love about your plugin is that they enter a relationship on one post and it displays on the related post as well.
Is there a filter in the plugin that can be called already? or would I need to create my own filter?
Cheers
JamesForum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Orderby="none" not workingFor anybody that might be interested in the answer, after you have set the shortcode up, if you change
orderby=”none”
to
orderby=”post__in”It will keep them in the order that was entered in the ID box.
Forum: Plugins
In reply to: [Icon Links Widget] Error in AdminIf you replace line 126 with
$arraypop = array_keys( $fields );
$arraykey = array_pop( $arraypop );This fixes the error.
Forum: Plugins
In reply to: [Foodlist] Icon sizeHey,
Thanks, I was requiring the wrong file somehow, sleep deprived.
Cheers for the help, all working and resolved.
Awesome support.
Forum: Plugins
In reply to: [Foodlist] Icon sizeHi,
Yes I want to change the tag icon size. But I’d also like to remove the “alignleft” class added to thumbnail images.
So I thought I’d use your instructions directly to edit this.
So I followed the instructions of adding a new shortcode as per the post mentioned.
This is “MenuItemThumbnailShortcode.php” in my theme folder, inside another folder foodlist_ext
<?php namespace foodlist_ext; use Artprima\Text\Shortcode; use Artprima\Text\ShortcodeManager; use Foodlist\Project\WordPress\Plugin\Foodlist\Manager; class MenuItemThumbnailShortcode extends Shortcode { public function getTag() { return 'menu_item_thumbnail_casa'; } public function apply($attrs, $content = null) { $cur = Manager::getInstance()->get('curitem'); $postData = $cur->getPostData(); $id = $postData['id']; $result = ''; if (has_post_thumbnail($id)) { $result = get_the_post_thumbnail($id, 'fl-menu-item-thumb', array('class' => 'fl-menu-item-thumb')); } return $result; } }
Adding to my functions.php
function my_register_thumbnail_shortcode(\Artprima\Text\ShortcodeManager $sm) { $sm->registerShortcode(new \foodlist_ext\MenuItemThumbnailShortcode()); } add_action('foodlist_register_menuitem_shortcode', 'my_register_thumbnail_shortcode');
Now it crashes the menu out, without including the new shortcode on the page.
Should the PHP be in a different folder? I’m fairly proficient in PHP, but the fact that following your instructions it crashes out seems strange.
Cheers
Forum: Plugins
In reply to: [Foodlist] Icon sizeThat doesn’t seem to do anything, I’m not sure if its to do with the fact the images are sized upon uploading at that size, could almost do with it using the full image size rather than a generated size.
I have also tried adding a short code but that doesn’t seem to do much either, and was trying to keep it simple by using the MenuItemThumbnailShortcode.php and removing the “align left” class, but this just displays my short code, I might be missing a step.
Where do you save the copied Shortcode.php file?
ChhersForum: Themes and Templates
In reply to: Negating Plugins CSS attributesHi there,
A quick way that you could achieve this is
.swm_logo_section {
width:100% !important;
}This puts the logo against the edge of main container and the social icons against the other.
Is this what you are trying to achieve?Forum: Plugins
In reply to: [Font Awesome 4 Menus] icons not working in FirefoxFrom what I’ve found with a theme, is that the font is loaded multiple times in the functions.php file, after making this only once, it all works.