Home › Forums › Basel support forum › Missing Argument Error using instagram widget in footer
Missing Argument Error using instagram widget in footer
- This topic has 14 replies, 3 voices, and was last updated 8 years, 3 months ago by Artem Temos.
-
AuthorPosts
-
August 10, 2016 at 8:55 am #2608
tjchamParticipantWarning: Missing argument 2 for basel_shortcode_instagram(), called in /var/www/clients/client1/web7/web/woo/wp-content/themes/basel/inc/widgets/class-instagram-widget.php on line 45 and defined in /var/www/clients/client1/web7/web/woo/wp-content/themes/basel/inc/shortcodes.php on line 117
Also the styling for this widget is limited – 3 images across using thumbnails… Would like to use for full width footer column like VC options where number of images per row can be selected.
Alternatively, if I could use VC on the blog overview page (lists latest posts) and add VC elements below the posts. VC is available but cannot save to the blog page (using masks)
August 10, 2016 at 9:26 am #2609
Artem TemosKeymasterHello,
1. We will fix this warning message in the next theme update, thank you for the report.
2. We suggest you to use our Visual Composer element “Instagram” that has more options that you need.
3. It is not clear for us what problem do you have with the Visual Composer on blog post? Could you give us a bit more details about it?
Regards
August 10, 2016 at 9:30 am #2612
tjchamParticipantThanks for the reply.
3. With Blog set to mask in theme settings,
On the page edit, VC is available, you can add a VC component such as Instagram, but the page does not save the Instagram or any other VC component.
August 10, 2016 at 9:43 am #2613
Artem TemosKeymasterIn this case please provide your admin access so we could check it.
August 10, 2016 at 9:45 am #2614
tjchamParticipantSo it works fine in your demo?
Adding Instagram widget to sidebar or any other widget area?
August 10, 2016 at 9:46 am #2615
tjchamParticipantSorry I meant the VC components save in your demo for the blog page?
August 10, 2016 at 9:51 am #2619
Artem TemosKeymasterYes, of course it works fine as well as on any other post types.
August 10, 2016 at 9:57 am #2620
tjchamParticipantOk thanks, good to know, but can you send me a link to show me a demo page with VC elements in the blog page please?
I can’t give you access to our dev site as we are working like crazy to go live.
If you show me that it is working, I’ll set up a new dev version with no other plugins installed, test it and if does not work let you have access.
Thanks again.
August 10, 2016 at 10:02 am #2621
Artem TemosKeymasterHere is a post example where we have added VC Instagram element just now http://demo.xtemos.com/basel/posuere-at-mi-a-sem/
August 10, 2016 at 10:07 am #2622
tjchamParticipantHi, thanks, but that link is for a blog post…
I meant the blog overview page like :
…/blog/
or
or
August 10, 2016 at 10:10 am #2623
Artem TemosKeymasterBut it is not possible to show any texts on the blog page, only posts loop will be shown on this page.
August 10, 2016 at 10:20 am #2624
tjchamParticipantOK, no problem, but the VC options are shown on the page so this leads to confusion. (you can add the VC option, but they do not save). We will have to find a way to remove VC from this page for the client otherwise he is going to ask why it does not work too.
We will wait until the widget for Instagram is fixed and add it as a widget to this page instead.
August 10, 2016 at 1:12 pm #2627
Artem TemosKeymasterThis warning will be removed in the next update. Probably in one-two weeks.
Thank you
September 14, 2016 at 6:58 pm #3961
sjmellor39ParticipantIs it as simple as modifying line 117 to comment out the $content variable? Because that seemed to work for me and remove the error.
function basel_shortcode_instagram( $atts/*, $content*/ ) {
September 14, 2016 at 7:26 pm #3965
Artem TemosKeymasterHi @sjmellor39,
Thank you for posting your solution here on the support forum, it will be helpful for other customers with old Basel version.
Regards
-
AuthorPosts
Tagged: instagram
- You must be logged in to create new topics. Login / Register