Skip to content

Commit

Permalink
Fixed pager issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samiahmedsiddiqui committed Jan 23, 2018
1 parent 0ac6e9a commit 053023f
Show file tree
Hide file tree
Showing 23 changed files with 9,540 additions and 525 deletions.
339 changes: 0 additions & 339 deletions LICENSE

This file was deleted.

26 changes: 20 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,26 @@ Note: Use `custom_permalinks_like_query` filter if the URLs doesn't works for yo

## Thanks for the Support!

The support from the users that love Custom Permalinks is huge. You can support Custom Permalinks's future development and help to make it even better by donating or even giving a 5 star rating with a nice message to me :)
I does not always provide active support for the Custom Permalinks plugin on the WordPress.org forums, as i have prioritize the email support.
One-on-one email support is available to people who bought [Custom Permalinks Premium](https://www.custompermalinks.com/#pricing-section) only.

[Donate to Custom Permalinks](https://www.paypal.me/yasglobal)
## Bug reports

## Installation
Bug reports for Custom Permalinks are [welcomed on GitHub](https://github.com/yasglobal/custom-permalinks). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.

1. Unzip the package, and upload `custom-permalinks` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Edit any post, page, tag or category to set a custom permalink.
== Installation ==

This process defines you the steps to follow either you are installing through WordPress or Manually from FTP.

## From within WordPress

1. Visit 'Plugins > Add New'
2. Search for Custom Permalinks
3. Activate Custom Permalinks from your Plugins page.
4. Go to "after activation" below.

## Manually

1. Upload the `custom-permalinks` folder to the `/wp-content/plugins/` directory
2. Activate Custom Permalinks through the 'Plugins' menu in WordPress
3. Go to "after activation" below.
147 changes: 147 additions & 0 deletions admin/class-custom-permalinks-about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?php
/**
* @package CustomPermalinks\Admin
*/

class Custom_Permalinks_About {

/**
* Class constructor.
*/
public function __construct() {
$this->more_plugins();
}

/**
* More Plugins HTML
*/
private function more_plugins() {
$plugin_url = plugins_url( '/admin', CUSTOM_PERMALINKS_FILE );
$img_src = $plugin_url . '/images';
wp_enqueue_style( 'style', $plugin_url . '/css/about-plugins.min.css' );
$plugin_name = __( 'Custom Permalinks', 'custom-permalinks' );
$button_text = __( 'Check it out', 'custom-permalinks' );
$five_star = '<span class="star">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 53.867 53.867" width="15" height="15">
<polygon points="26.934,1.318 35.256,18.182 53.867,20.887 40.4,34.013 43.579,52.549 26.934,43.798
10.288,52.549 13.467,34.013 0,20.887 18.611,18.182 "/>
</svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 53.867 53.867" width="15" height="15">
<polygon points="26.934,1.318 35.256,18.182 53.867,20.887 40.4,34.013 43.579,52.549 26.934,43.798
10.288,52.549 13.467,34.013 0,20.887 18.611,18.182 "/>
</svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 53.867 53.867" width="15" height="15">
<polygon points="26.934,1.318 35.256,18.182 53.867,20.887 40.4,34.013 43.579,52.549 26.934,43.798
10.288,52.549 13.467,34.013 0,20.887 18.611,18.182 "/>
</svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 53.867 53.867" width="15" height="15">
<polygon points="26.934,1.318 35.256,18.182 53.867,20.887 40.4,34.013 43.579,52.549 26.934,43.798
10.288,52.549 13.467,34.013 0,20.887 18.611,18.182 "/>
</svg>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 53.867 53.867" width="15" height="15">
<polygon points="26.934,1.318 35.256,18.182 53.867,20.887 40.4,34.013 43.579,52.549 26.934,43.798
10.288,52.549 13.467,34.013 0,20.887 18.611,18.182 "/>
</svg>
</span>';
?>

<div class="wrap">
<div class="float">
<h1><?php echo $plugin_name . ' ' . CUSTOM_PERMALINKS_PLUGIN_VERSION; ?></h1>
<div class="tagline">
<p><?php _e('Thank you for choosing Custom Permalinks! We hope that your experience with our plugin for adding HTTP Authentication on your site is quick and easy.', 'custom-permalinks' ); ?></p>
<p><?php printf( __( 'To support future development and help to make it even better just leaving us a <a href="%s" title="Custom Permalinks Rating" target="_blank">%s</a> rating with a nice message to me :)', 'custom-permalinks' ), 'https://wordpress.org/support/plugin/custom-permalinks/reviews/?rate=5#new-post', $five_star ); ?></p>
</div>
</div>

<div class="float">
<object type="image/svg+xml" data="<?php echo $img_src;?>/custom-permalinks.svg" width="128" height="128"></object>
</div>

<div class="product">
<h2><?php _e( 'More from YAS Global', 'custom-permalinks' ); ?></h2>
<span><?php _e('Our List of Plugins provides the services which helps you to manage your site URLs(Permalinks), Prevent your site from XSS Attacks, Brute force attacks, increase your site visitors by adding Strucutred JSON Markup and so on.', 'custom-permalinks' ); ?></span>
<div class="box recommended">
<div class="img">
<img src= "<?php echo $img_src; ?>/prevent-xss-vulnerability.png" style="transform:scale(1.5)" />
</div>

<h3><?php _e( 'Prevent XSS Vulnerability', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'Secure your site from the <strong>XSS Attacks</strong> so, your users won\'t lose any kind of information or not redirected to any other site by visiting to your site with the <strong>malicious code</strong> in the URL or so. In this way, users can open your site URLs without any hesitation.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/prevent-xss-vulnerability/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/permalinks-customizer.svg" />
</div>

<h3><?php _e( 'Permalinks Customizer', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'Allows you to either define different Permalink Structure or define same Permalink Structure for default and Custom PostTypes, Taxonomies. Plugin automatically creates the user-friendly URLs as per your defined structured that can be edited from the single post/page.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/permalinks-customizer/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box recommended">
<div class="img">
<img src= "<?php echo $img_src; ?>/http-auth.svg" />
</div>

<h3><?php _e( 'Http Auth', 'schema-for-article' ); ?></h3>
<p><?php _e( 'Allows you apply <strong>HTTP Auth</strong> on your site. You can apply Http Authentication all over the site or only the admin pages. It helps to stop cralwing on your site while on development or persist the <strong>Brute Attacks</strong> by locking the Admin Pages.', 'schema-for-article' ); ?></p>
<a href="https://wordpress.org/plugins/http-auth/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/schema-for-article.svg" />
</div>

<h3><?php _e( 'SCHEMA for Article', 'schema-for-article' ); ?></h3>
<p><?php _e( 'Simply the easiest solution to add valid schema.org as a JSON script in the head of blog posts or articles. You can choose the schema either to show with the type of Article or NewsArticle from the settings page.', 'schema-for-article' ); ?></p>
<a href="https://wordpress.org/plugins/schema-for-article/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/make-paths-relative.svg" />
</div>

<h3><?php _e( 'Make Paths Relative', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'Convert the paths(URLs) to relative instead of absolute. You can make <strong>Post</strong>, <strong>Category</strong>, <strong>Archive</strong>, <strong>Image</strong> URLs and <strong>Script</strong> and <strong>Style</strong> src as per your requirement. You can choose which you want to be relative from the setttings Page.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/make-paths-relative/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/json-structuring-markup.svg" />
</div>

<h3><?php _e( 'JSON Structuring Markup', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'Simply the easiest solution to add valid schema.org as a JSON script in the head of posts and pages. It provides you multiple <strong>SCHEMA</strong> types like Article, News Article, Organization and Website Schema.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/json-structuring-markup/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/remove-links-and-scripts.svg" />
</div>

<h3><?php _e( 'Remove Links and Scripts', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'It removes some meta data from the wordpress header so, your header keeps clean of useless information like <strong>shortlink</strong>, <strong>rsd_link</strong>, <strong>wlwmanifest_link</strong>, <strong>emoji_scripts</strong>, <strong>wp_embed</strong>, <strong>wp_json</strong>, <strong>emoji_styles</strong>, <strong>generator</strong> and so on.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/remove-links-and-scripts/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>

<div class="box">
<div class="img">
<img src= "<?php echo $img_src; ?>/media-post-permalink.png" style="transform:scale(1.5)" />
</div>

<h3><?php _e( 'Media Post Permalink', 'custom-permalinks' ); ?></h3>
<p><?php _e( 'On uploading any image, let\'s say services.png, WordPress creates the <strong>attachment post</strong> with the permalink of <strong>/services/</strong> and doesn\'t allow you to use that permalink to point your page. In this case, we comes up with this great solution.', 'custom-permalinks' ); ?></p>
<a href="https://wordpress.org/plugins/media-post-permalink/" class="checkout-button" target="_blank"><?php echo $button_text; ?></a>
</div>
</div>
</div>
<?php
}
}
Loading

0 comments on commit 053023f

Please sign in to comment.