Giter VIP home page Giter VIP logo

shortcodes-wp's Introduction

Shortcodes WP

created by discord release star license

๐Ÿ“ข Nominate (@WarenGonzaga) as GitHub Star. If you appreciate his hardwork and dedication to open source.


A WordPress shortcode plugin to automagically display WordPress information. Simple and lightweight, no annoying ads and fancy settings.

๐Ÿ˜Ž Demo

(coming soon...)

๐Ÿ“– Documentation

The complete documentation can be found here:
Docs

๐Ÿ“ฆ Installation

To be able to start using this plugin just download the latest release here.

  • Upload the plugin (.zip file) to the /wp-content/plugins/ directory.
  • Activate the WP Disease Tracker WordPress plugin through the 'Plugins' menu in WordPress.

๐Ÿ•น๏ธ Usage

Simply copy the shortcode below and paste it somewhere on the front-end of your WordPress website.

[wpuser_firstname] //display current user's first name
[wpuser_lastname] //display current user's last name

Date

[wpinfo_current_day] //display current day e.g. Tuesday
[wpinfo_current_month] //display current month e.g. November
[wpinfo_current_year] //display current year e.g. 2020

Display current date, using the format set in Settings > Date format

[wpinfo_current_date] OR
[wpinfo_current_date format="Y/m/d"] 
[wpuser_query_param arg="s"] //display a query parameter from the URL e.g. the search parameter

More shortcodes coming...

๐ŸŽฏ Contributing

Contributions are welcome, create a pull request to this repo and I will review your code. Please consider to submit your pull request to the dev branch. Thank you!

๐Ÿ’ฌ Discussions

For any questions, suggestions, ideas, or simply you want to share your experience in using this project, feel free to share and discuss it to the community!

๐Ÿ› Issues

If you're facing a problem in using Shortcodes WP please let me know by creating an issue here. I'm here to help you!

๐Ÿ€ Sponsors and Supporters

BuyMeaCoffee Vercel CircleCI GitBook Digital Ocean Deepware NOWPayments StackHawk

Love what I do? Send me some coffees! Can't send coffees? Nominate me for a GitHub Star instead! Your coffee donation and support will help me to continue working on open-source projects like this.

๐ŸŒ Community

Wanna contribute to my projects? Join today and contribute!

community community

๐Ÿ“‹ Code of Conduct

Read the project's code of conduct.

๐Ÿ“ƒ License

Shortcodes WP is licensed under GNU General Public License v3.

๐Ÿ“ Author

Shortcodes WP is created by Waren Gonzaga, with the help of awesome contributors.


๐Ÿ’ป Made with ๐Ÿ’– and โ˜• by Waren Gonzaga with YHWH ๐Ÿ™ | Citizen of Heaven

shortcodes-wp's People

Contributors

warengonzaga avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shortcodes-wp's Issues

get the latest post URL shortcode

Adding an ability to get the latest post URL by using shortcode only.
Inspired by this plugin that is outdated.

Would be a good idea to add this to the list of useful shortcodes.

This would be part of wpinfo family.

namespace for shortcodes

At the moment, if a theme or plugin has the same name as our functions then there will be an error.

I suggest re-writing what exists currently into a PHP Class and use namespaces.

I can do this for you but please let me know if you would like this. Again, please add 'Hacktoberfest'.

shortcode for back to previous page

I know it is a bit of a bloat function, but it will make your life easier by just adding a shortcode only to a certain page. Also adding an option too, on where to redirect the visitor? ๐Ÿคทโ€โ™‚๏ธ

get the current URL w/out query parameters

The example use case for this is when you want to get the current URL of the page and add it as part of your anchor tag.

<a href="[wpinfo_current_url]?status=1">Sample</a>

Expected Usage

[wpinfo_current_url with_param="false | true"]

For me, this is a useful feature to add as part of our shortcode WordPress information.

automate workflow

I want to automate things here to make things easier for maintenance.

  • Automate release / changelog.
  • Automate tests for WordPress.
  • Automate adding contributors to the README file.
  • Automate building the plugin and push to the WP repository.

These are the tasks that need to be done for me to make this project more maintainable.

For contributors, if you can do these things I have 40+ repositories that need this.
As an alternative, I'm working on a solution to make this easier for everyone.

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.