Skip to content

grgcarlson321/PinUrFavorites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

PinUrFavorites

Summary

WordPress Plugin allows for users who are logged in to pin their favorite posts to a Pinned Favorites template page. On the Pinned Favorites template page users can keep a list of their favorite posts from your website and gives them the option to visit the post or delete the post from their Pinned Favorites.

How to Install

1. Install PinUrFavorites by downloading the plugin directory from the Github repository and then placing it in yourWordPressSite/wp-content/plugins.

2. Activate the PinUrFavorites plugin from the Plugins page on the WordPress Dashboard left side menu.

3. In order to start letting users pin their favorite posts you need provide a link on your website that is similiar to the following:

<a id="4" class="addfavorite" name="fromPost" href="#"> <img width="15" height="15" title="Pin to favorites!" src="http://localhost/web_gallery/wp-content/plugins/PinUrFavorites/images//favorite_pin.png"> <span style="color:#2295de; font-weight: bold;"> Pin as favorite</span> </a>

Note about HTML link: The link attributes for id, class, and name must stay consistent in order for PinUrFavorites to work correctly.

4. Copy and paste the HTML link above into your single.php file. The file is located in yourwordpresssite/wp-content/themes/yourtheme/single.php

5. View a post on your website and see if the link appears. If it doesn't you may have to do some further investigating in your theme directory and find the file responsible for displaying post content.

6. Next add a new page to your website and select the PinUrFavorites template called: pinned favorites temp. This template displays the users posts that they have Pinned in their Favorites. Provide a link somewhere on your website where users can view and click on it to visit their My Pinned Favorites page. On this page users can manage their pinned favorites and re-visit their favorite posts on your website.

Admin Features

When the PinUrFavorites plugin is activated a menu item is added to the WordPress Dashboard. The menu item is a link for the Pinned Favorites on your website. Admin user can view the Pinned Favorites page to see what posts users have pinned on his or her website.

About

WordPress plugin for pinning favorites on your website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published