{"id":22802,"date":"2013-04-05T02:38:41","date_gmt":"2013-04-05T02:38:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/livejournal-shortcode\/"},"modified":"2014-04-19T18:53:25","modified_gmt":"2014-04-19T18:53:25","slug":"livejournal-shortcode","status":"publish","type":"plugin","link":"https:\/\/ca.wordpress.org\/plugins\/livejournal-shortcode\/","author":11989014,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"3.9.40","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"LiveJournal Shortcode","header_author":"Danielle Monnier","header_description":"","assets_banners_color":"cfd8e1","last_updated":"2014-04-19 18:53:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=SGK5F3QQASDXS","header_plugin_uri":"http:\/\/wp.dmonnier.com\/shortcodes\/livejournal\/","header_author_uri":"http:\/\/www.dmonnier.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4871,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>You can choose the icon type displayed (user, community, news).<\/li>\n<\/ul>","1.0":"<ul>\n<li>Plug-in created.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"692309","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"692315","resolution":"1","location":"assets"}},"screenshots":{"1":"An example result."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[10071,80],"plugin_category":[43],"plugin_contributors":[82364],"plugin_business_model":[],"class_list":["post-22802","plugin","type-plugin","status-publish","hentry","plugin_tags-livejournal","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-dmonnier","plugin_committers-dmonnier"],"banners":{"banner":"https:\/\/ps.w.org\/livejournal-shortcode\/assets\/banner-772x250.jpg?rev=692309","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/livejournal-shortcode_cfd8e1.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/livejournal-shortcode\/assets\/screenshot-1.jpg?rev=692315","caption":"An example result."}],"raw_content":"<!--section=description-->\n<p>Links to LiveJournals have a very distinctive look: the icon followed by the journal name.  This shortcode follows the same format as LiveJournal's own markup and provides the same results, which you can easily customize with your own CSS styles.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>shortcode-lj<\/code> to your <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in your WordPress admin.<\/li>\n<\/ol>\n\n<p>To use the shortcode, anywhere you want a LJ link:<\/p>\n\n<pre><code>[lj user=\"frank\"]\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>[lj user=\"frank\" title=\"Frank the Goat\"]\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>[lj user=\"lj-maintenance\" title=\"LiveJournal Maintenance\" icon=\"community\"]\n<\/code><\/pre>\n\n<p>The <code>user<\/code> parameter is required.  It is the actual name of the journal and can be found from the URL when you visit that journal's page.  For example, Frank the Goat's journal is at http:\/\/frank.livejournal.com and his username is \"frank\".  If you do not specify the <code>user<\/code> parameter, the shortcode will result in a red error message to let you know to fix it.<\/p>\n\n<p>The <code>title<\/code> parameter is optional and controls the formatting of the visible link text on your page.  By default, the <code>user<\/code> parameter will be used for the link text unless the <code>title<\/code> parameter is specified. For example, if you want the text to read \"Frank the Goat's Totally Awesome LiveJournal\" instead of just \"Frank\", put that in the <code>title<\/code> parameter.<\/p>\n\n<p>The <code>icon<\/code> parameter is optional and indicates what kind of LiveJournal this journal is.  Valid options are <code>user<\/code>, <code>community<\/code>, and <code>news<\/code>.  Defaults to <code>user<\/code>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Can I use this shortcode in excerpts, comments, and\/or widgets?<\/dt>\n<dd><p>YES!  Simply add the following four lines to your functions.php:<\/p>\n\n<pre><code>add_filter( 'widget_text', 'shortcode_unautop');\nadd_filter( 'widget_text', 'do_shortcode', 11);\nadd_filter( 'the_excerpt', 'do_shortcode', 11);\nadd_filter( 'comment_text', 'do_shortcode', 11);\n<\/code><\/pre><\/dd>\n<dt>How do I customize the link or icon used?<\/dt>\n<dd><p>The included stylesheet <code>style.css<\/code> and default LiveJournal icons are easily edited and\/or replaced.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added ability to choose icon type (user, community, news).<\/li>\n<li>Removed solid white background behind links.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Plug-in created.<\/li>\n<\/ul>","raw_excerpt":"Quickly create text links to LiveJournals in the same format as LJ with this shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22802"}],"author":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dmonnier"}],"wp:attachment":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22802"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22802"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22802"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22802"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22802"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}