<?php
if ( class_exists( 'BXSG_ThemeUtils' ) ) {
BXSG_ThemeUtils::the_post_gallery( array(
'exclude_featured' => 1
) );
}
?>
What I want to do is
A) Add a bit of styled html text to the gallery slides
or
B) Build an html slide altogether and insert it outside the entry content area.
[slider]
This is my first slide. I can contain any html you like.
[next-slide]
And the shortcode above has made this text be the second slider.
[next-slide]
And thus we are now having the third slide of this slider. Below we close the initial shortcode to notify the end
of the slider. Simple, isn't it?
[/slider]
In the plugin code you say
class BXSG_ThemeUtils {
/**
* Outputs a gallery related to the current post. If you need to change the output, you can use the
* <code>get_the_post_gallery</code> function
*
* @param array $params the parameters that are passed to the or [bxgallery] shortcodes to customize
* the output. Please refer to the shortcode reference to know which parameters are available.
*/
public static function the_post_gallery( $params ) {
echo self::get_the_post_gallery( $params );
}
public static function get_the_post_gallery( $params ) {
global $bsxg_plugin;
return $bsxg_plugin->gallery_shortcode->process_shortcode( $params );
}
}
Can I add HTML to the slider with this? How so?
Thanks for the great code!
https://www.ads-software.com/plugins/bxslider-integration/
]]>Like the questioner on your plugin homepage, I’d like to disable the auto-add to posts and instead use a shortcode or template function so I can have the icons display somewhere different to where they currently would. ( I’m using custom templates where stuff comes after the_content and I need share buttons to display after that stuff.) Is this a fairly easy hack for me to do? Or is an upgrade due shortly which would enable this?
Also, like that questioner, I’d like to be able to disable the share count. I’m guessing it’s a relatively easy hack to just delete the text so it doesn’t display, even if it still does the calculation, until such time as you’re able to add this functionality if you decide to?
Last – and least – I’d like to display the “Share This:” text inline with the icons, rather than above, though I’ve already worked out a simple work around for that, so really just suggesting it as a future option.
Any suggestions / comments on the above?
https://www.ads-software.com/plugins/fast-easy-social-sharing/
]]>https://www.ads-software.com/extend/plugins/weptile-image-slider-widget/
]]>I see in the documentation there is a template function that retrieves views count.
I’d like to ask if there is a way to retrieve just weekly count instead of total views… or if I had to clear views count by myself to achieve that result
Thanks
Carlo
https://www.ads-software.com/extend/plugins/wordpress-popular-posts/
]]>Thanks.
https://www.ads-software.com/extend/plugins/print-me/
]]>As far as i can see, all wp functions generate content already with HTML code. This makes conversion a major pain as wp content forces HTML that i do not want.
The only one i found (so far) was wp_get_nav_menu_items() with parameter echo = false.
Are there wp functions which strip that junk HTML and leave only pure data for inserting in my HTML ?
]]>