Download the PHP package waughj/wordpress-links without Composer

On this page you can find all versions of the php package waughj/wordpress-links. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wordpress-links

WordPress Links

Way to mo'-easily create links o' various types in content through PHP & shortcodes.

Description

This plugin includes 6 types o' shortcodes / PHP classes:

Link

Shortcode: [link href="url"]content[/link] PHP Class: new WaughJ\HTMLLink\HTMLLink( $href, $content, $other_attributes );

General link where the link href given is used directly as the href. The backbone o' all the other link types.

Content, when put 'tween opening & closing tags, can be a shortcode o' its own, which will be interpreted, too. When used as a PHP class, you can push any object that can be used as a string as content, including other HTML generators.

Valid attributes include all valid HTML5 attributes for the a tag, as well as...

Mail-Link

Shortcode: [mail-link]email[/mail-link] or [mail-link email="email"]Email Me.[/mail-link] PHP Class: new WaughJ\HTMLMailLink\HTMLMailLink( $email, $other_attributes );

Generates mailto link. If just email given, content automatically set to email.

Valid attributes include "value" for content ( for the direct PHP use ). all valid HTML5 attributes for the a tag, as well as the external attribute mentioned under Link.

Phone-Link

Shortcode: [phone-link]phone number[/phone-link] or [phone-link tel="phone"]Call us now![/phone-link] PHP Class: new WaughJ\HTMLPhoneLink\HTMLPhoneLink( $phone_number, $other_attributes );

Generates tel link. If just phone # is given, content automatically set to phone #.

Valid attributes include "value" for content ( for the direct PHP use ). all valid HTML5 attributes for the a tag, as well as the external attribute mentioned under Link.

Post-Link

Shortcode: [post-link slug="post-slug"] or [post-link slug="post-slug" post_type="specific-post-type"] [post-link post_id="post-id"]Read this post[/post-link] PHP Class: new WaughJ\WPPostLink\WPPostLink( $attributes );

Generates a link to a post, based on slug or post_id, or, if using the PHP class, the post object itself under "post".

In addition, you can add all the attributes you can for the regular Link class & shortcode.

Home-Link

Shortcode: [home-link] or [home-link]Visit our home page.[/home-link] PHP Class: new WaughJ\WPHomeLink\WPHomeLink( $attributes );

Automatically generates link to WordPress front page. Content that represents link defaults to name o' front page. All alternative attributes done the same as regular Link class & shortcode.

Category Link

Shortcode: [category-link slug="category-slug"] or [category-link category_id="category-id"]Link content[/category-link] PHP Class: new WaughJ\WPCategoryLink\WPCategoryLink( $attributes );

Automatically generates link to category page. Use slug or category_id attributes to get category. Content & optional attributes added the same way as regular Link class.

Tag Link

Shortcode: [tag-link slug="category-slug"] or [tag-link slug="category-slug"]Link content[/tag-link] PHP Class: new WaughJ\WPTagLink\WPTagLink( $attributes );

Automatically generates link to tag page. Use slug to get tag. Content & optional attributes added the same way as regular Link class.

Media Link

Shortcode: [media-link media_id=""]Link content[/media-link] or [media-link media-id=""]Link content[/media-link] or [media-link media-id="" value="Link content"] PHP Class: new WaughJ\WPMediaLink\WPMediaLink( $id, $content, $attributes );

Automatically generates link to media item. Content must be set or shortcode won't work. Shortcode content can be put as content, too. For example, if WAJ Images is installed, you can do the common technique o' an image link with:

[media-link media-id="1"][upload-image id="1"][/media-link]

Installation

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Links can be added using shortcode in WordPress editors or directly in PHP by using instances o' classes. Instances o' classes can be automatically casted into strings & used as strings, or you can call getHTML() to get HTML code as string.

Changelog

1.0.1

1.0.1


All versions of wordpress-links with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
waughj/html-link Version >=1.2.7
waughj/html-mail-link Version >=0.1.5
waughj/wp-category-link Version >=0.1.6
waughj/wp-home-link Version >=0.1.7
waughj/wp-post-link Version >=0.2.7
waughj/wp-tag-link Version >=0.1.6
waughj/html-phone-link Version >=0.1.1
waughj/wp-media-link Version >=0.2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package waughj/wordpress-links contains the following files

Loading the files please wait ....