![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
What WP plugin will do this?
I need to be able to add a note or author comment after each blog post and would like to have it highlighted like this is. I see it on many blogs but can't find a plugin to do it.
![]() Thanks in advance. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2010
Location: Portugal
Posts: 1,262
|
Edit the post page and had div with proper css and content in it? :S
__________________
StagCMS - Adult CMS - user friendly adult content management system - speed up your websites with no SQL connections ICQ: 63*23*43*113 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
I figured there is plugin for this but I could be wrong. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Oct 2010
Location: Portugal
Posts: 1,262
|
try to add this in your /wp-content/themes/YOURTEMPLATE/single.php
PHP Code:
PHP Code:
You can also create a shortcode for that, like [note msg="blablabla"].... Hit me if u need help ![]()
__________________
StagCMS - Adult CMS - user friendly adult content management system - speed up your websites with no SQL connections ICQ: 63*23*43*113 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Oct 2007
Posts: 1,448
|
It's not a plugin. I don't know Wordpress much expect reverse engineering it, but there's comments, and then there's admin comments, or something to that affect. Maybe it's "author comments".
Anyway, it's in the CSS. You have to find a theme that supports it, then copy it. PS. Don't quote me on that, as I could be wrong. Again, I don't know WP very well.
__________________
xMarkPro -- Ultimate Blog Network Management Streamline your marketing operations. Centralize management of domains, pages, Wordpress blogs, sponsors, link codes, media items, sales and traffic statistics, plus more! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Oct 2010
Location: Portugal
Posts: 1,262
|
Quote:
You can create a shortcode for that. Its easy shit. Add something like this to ur /wp-content/themes/YOURTHEME/functions.php PHP Code:
then, in the post that you want to call, write [note msg="blalbla bla bla"] where you want the warning
__________________
StagCMS - Adult CMS - user friendly adult content management system - speed up your websites with no SQL connections ICQ: 63*23*43*113 ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Registered User
Industry Role:
Join Date: Feb 2006
Posts: 22,511
|
post the blog you see it on.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Great White North
Posts: 5,794
|
Lots of hard solutions for an easy problem.
Search "WP Author Plugin" in google, there is dozens of them, you could also just add it as a custom field and have a lot more control over it (ie an endless amounts of text/image/author combinations and even advertisements). Working it as a custom field allows you to add it wherever you want, but also with any text/image/etc that you want to put.
__________________
LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250 Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month. AmeriNOC - Proudly hosted @ AmeriNOC! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
you're over complicating things, just do this:
Code:
<?php if(get_post_meta($post->ID, 'author-comment', true)): ?> <div style="somestyle"><?php echo get_post_meta($post->ID, 'author-comment', true); ?></div> <?php endif; ?> Alternatively, if your theme doesn't use excerpts, then you can simply place the_excerpt() there, so you'll only need to add an excerpt to display that text, and if you don't input anything, then nothing will be displayed.
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
![]() Also flagging me when I try to create a custom field. Grrrrr. It's a Woo Theme. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
I messed something up in my functions page that was creating the error for the custom field. Working on that now.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
OK... I think the custom field will work, but how do I tell it to call just 1 key (key is called "note")?
If I put the_meta() it calls them all. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
![]() ![]() ![]() Thanks everyone. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,297
|
if you are using woothemes, they have their own shortcodes for notices. like you see on this page.
scoll down http://www.woothemes.com/2011/02/new-ideas-feb-11/ more info http://www.woothemes.com/2010/08/woo...rk-shortcodes/ http://www.woothemes.com/2011/02/we-...ur-shortcodes/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Apr 2006
Location: at the Office!
Posts: 1,056
|
check this plug-in http://wordpress.org/extend/plugins/...x/screenshots/
__________________
Web and Graphic Designer
Hit me up on ICQ#291166250 |
![]() |
![]() ![]() ![]() ![]() ![]() |