Giter VIP home page Giter VIP logo

stagtools's Introduction

Description

StagTools is an open-source WordPress Plugin which brings the power the handy shortcodes and widgets on your site.

The purpose of StagTools is to keep your content consistent, while you want to change your themes. It could be really pain to update shortcodes everytime you change your theme, that's when StagTools comes to the rescue.

Installation

Uploading in WordPress Dashboard
  1. Navigate to the 'Add New' in the plugins dashboard
  2. Navigate to the 'Upload' area
  3. Select stagtools.zip from your computer
  4. Click 'Install Now'
  5. Activate the plugin in the Plugin dashboard
Using FTP
  1. Download stagtools.zip
  2. Extract the stagtools directory to your computer
  3. Upload the stagtools directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

Shortcodes

Stagtools includes the following shortcodes:

  • Buttons ( optionally, with font icons )
  • Columns
  • Dropcaps
  • Tabs
  • Toggle
  • Font Icons by Font Awesome
  • Google Maps with 5 predefined styles, and map types
  • Custom Sidebars Area ( requires Stag Custom Sidebars plugin )
  • Image with CSS3 filters
  • Videos ( supports oEmbeds )

Shortcodes can easily be inserted via the button include in the editor, check the screenshot:

StagTools shortcodes

Apart from above, the plugin also comes with 3 widgets: Twitter, Dribbble & Flickr.

stagtools's People

Contributors

dependabot[bot] avatar lushkant avatar mandava avatar mauryaratan avatar ragzor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

stagtools's Issues

Upcoming Features

Improve:

  • Button - Add option for FontAwesome icon selection
  • FontAwesome 4 compatibilty

New Shortcodes:

  • New Settings to change portfolio/project skills ( Move FAQ under contextual help screen )

Also with next update, give some detailed description and display uses cases on WordPress repository.

Shortcode Bug: stag_two_third_last is missing clear

Great plugin and happy customer of the Cluster theme!

The stag_two_third_last shortcode is missing a clearing element.

To fix this, on line 35 in the file stagtools/shortcodes/shortcodes.php, change to:

return '<div class="stag-column stag-two-third stag-column-last">' . do_shortcode($content) . '</div><div class="clear"></div>';

Thanks!

Deprecate Shortcodes related to content styling

It's good to remove the content styling related shortcodes and using the Formats instead—which would simply apply some HTML markup and classes on element instead, be that inline or block level element.

After this change StagTools would only be supported on WordPress 3.9+

Some issues with twitter_widget_convert_links and CR

Hi,
I this amazing tools and I found a minor issue with the twitter_widget_convert_links class.
I think that it has some problems to process twits with CR (carriege return) character inside.

I show you an example.

My original twit:
Sulla webradio del Ministry of Sound, c'è la diretta del TomorrowLand 2014 da Boom in Belgio.

http://www.tomorrowland.com

tomorrowland

The result:
Sulla webradio del Ministry of Sound, c'è la diretta del TomorrowLand 2014 da Boom in Belgio. #tomorrowland" title="http://t.co/FK12WlDhLj #tomorrowland" target="_blank" >http://t.co/FK12WlDhLj #tomorrowland

You can see another examples of this issue on my twitter https://twitter.com/lucaciavatta/ and the results on my blog http://blog.lucaciavatta.com/ in the footer area.

Thank a lot for your tools.
Best regards,
Luca Ciavatta.

Twitter Widget breaks the page

Twitter widget breaks the page when there is any retrieving the tweets. Just remove any die() function used in the code.

Filter social settings fields

Currently social settings includes most of the social networking sites but since we are using FontAwesome icons, not all of the social brand icons are there.

Either we should include only fields which icons are present in FontAwesome or use a new font conditionally when [stag_social] shortcode is used.

Update FontAwesome

Update FontAwesome to latest version and ensure all sub-categories are visible in shortcode selector.

Developer Friendlies

It would be good to provide users a way to easily change the post type and taxonomies slug, may be just apply some filters there?

Also add body class to the front-end when so it will be useful to determine whether the plugin is active or not. 👍

Separate shortcode dependencies

Remove shortcode dependencies from plugin. Using tab and accordion from WordPress core initiates 4 requests and weight 28KB. If used on something own, it can be achieved in way lesser file sizes in single existing request.

Add “Light” button option

Add a light button color under StagTools, useful when dealing with contrast while adding compatibility with themes.

Replacing twitter link target regex is munging HTML in some cases

Hi, noticed some problems in StagTWHelper::twitter_widget_convert_links() with the regular expression. Line 1168 in the master branch, I think but also affecting your develop branch.

I've been able to work around by commenting that line out for now.

Sample output:

<a href="http://twitter.com/example_user" title="Follow example_user"  target="_blank"  >@example_user</a>" title="http://t.co/abcDEF123

Notice the extra "title=... at the end.

It might be safer/easier to use http://php.net/manual/en/domdocument.loadhtml.php to parse and edit the output. I could probably dig out some code samples of doing this before if it would help.

Rewrite twitter widget

There seems to be less features with twitter widget and for some user using OpenSSL creates issues.

Let’s write it again from the scratch with proper filtering for @username and #hashtags.

Who to contact for security issues

Hello 👋

I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@xplo1t-sec) has found a potential issue, which I would be eager to share with you.

Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.

Looking forward to hearing from you 👍

(cc @huntr-helper)

instagram

beautiful plugin, but i have one issue:

i can connect to my instagram profile jan.weber123 but i can not connect the instagram profile from my wife: natalie.weber1

are there different types of instagram accounts?

Issue with Intro Shortcode Tags and some minor bugs

Currently intro shortcode is using div tag which is kind of dumb and needs to be fixed by replacing it with span tag. Since div or any block level element can't be nested under a p tag it will prevent any inline styling under WordPress TinyMCE, for instance alignments.

Replacing that with span would fix the issue.

Also .stag-button--stroke has a white background white instead of transparent.

Twitter Widget count issue with Replies and Retweets

Twitter widget currently ignore the 'Show Retweets' and 'Show Replies' settings once the widget is saved, and resets only when the tweet transient is deleted.

There can be two solutions:

  1. Delete the tweet transient each time the widget is saved, or
  2. Instead of including the retweets and replies in http callback, save it either way and display as per the options.

2.0 Release

  • TinyMCE FontAwesome string translation
  • FontAwesome WOFF2 support
  • Update translation file

Video shortcode frame resize issue

There is an issue with video shortcodes frame. The relative and position relation is probably somehow forcing iframe to resize and force the video to show spaced by top and bottom.

Remove the CSS solution and use FitVids.js to fix the issue.

Syntax Errors with v2.3.4

With the latest version, 2.3.4, there are some syntax errors that are throwing 500 errors.

Here is the PHP Error Log for a site we manage:

[09-Oct-2020 15:07:31 UTC] PHP Parse error:  syntax error, unexpected ')' in /wp-content/plugins/stagtools/includes/widgets/widget-instagram.php on line 37

After taking a look, we see that on Line 36 and Line 49, there are commas after the second parameter being passed to printf(). Removing these commas fixed the syntax errors for us.

https://github.com/Codestag/stagtools/blob/master/includes/widgets/widget-instagram.php#L36
https://github.com/Codestag/stagtools/blob/master/includes/widgets/widget-instagram.php#L49

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.