Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   would like to add Links Within to Page pages (http://forum.bytesforall.com/showthread.php?t=16383)

measure2x Jan 1, 2012 04:49 PM

would like to add Links Within to Page pages
 
I've added the Links Within plugin and it's working beautifully on Post pages, but how do I get it displaying on Page pages?

This is the code I need to slip in somewhere (so it displays right under a Page, but before the social buttons):

<div class="linkwithin_div"></div>

There's so many files I don't know which one controls Pages.

Thanks!

lmilesw Jan 1, 2012 05:46 PM

Do you have a link to the plugin? How did you get them to display on posts?

measure2x Jan 1, 2012 09:09 PM

Here's the plugin:

http://www.linkwithin.com/learn


I installed it and it automatically displays related posts at the end of a Post, but not a Page.

lmilesw Jan 1, 2012 09:21 PM

Sounds like a question you would have to ask the plugin developer. Have you tried searching for a plugin that shows related pages AND posts?

measure2x Jan 1, 2012 09:31 PM

I guess that'll be my next step. But, the instructions on the plugin site say to put in this code where you want the "related posts" to appear (after installing the plugin). It happens automatically on Posts. It's just that ATA is so complicated it's not readily apparent to someone who doesn't really know php where to put it. I was hoping someone at this forum would know which file controls Pages and where to insert

<div class="linkwithin_div"></div>


Juggledad?

measure2x Jan 5, 2012 08:01 AM

I'm willing to pay someone to help me figure this out.

juggledad Jan 5, 2012 09:12 AM

I have a problem with sites that claim 'no signup required' but require you to give them your eamil address, blog link and platform.

That said, pages are just a special type of posts. You could try adding that code to index.php just after line 32 (in 3.7.3) which is
HTML Code:

                <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>

measure2x Jan 5, 2012 09:19 AM

Thanks! I will try that fix when I get home today and see if it works. I'll get back to you either way.

I know, I was a bit suspicious about submitting that info. I figured they needed the url to generate the plugin. It'd be nice if they put a "we won't share your email address" notice on that page. Because the plugin is used on several reputable sites I figured it was probably safe.

measure2x Jan 6, 2012 12:43 PM

Nada. I'll contact the plugin developer :(

juggledad Jan 6, 2012 12:58 PM

That was a guess on my part since I didn't sign up to get the plugin.

juggledad Jan 13, 2012 02:55 PM

as a followup for anyone reading. It is possible to get this to work with pages, but it will only display things from posts. The plugin copies your posts to their database and then serves back the 'related' posts to you.

To get it to work for pages, you have to edit the plugins code.


All times are GMT -6. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.