Forums

Code at beginning of post *in some views* (5 posts)

  1. jbn10161
    Member
    Posted 7 years ago #

    When the first page of the blog (1.5.2) comes up, the post (only one) is just fine. But if I click on Archives of Categories to view it from either of those perspectives, there are three problems: (1) the following code is at the top of the first paragraph:
    window.document.getElementById(’post-7′).parentNode.className += ‘ adhesive_post’;
    (2)the paragraph breaks are not there; and
    (3) the ellipsis at the end [...] does not link anywhere so the visitor can not follow the rest of the post.

    I'm thinking the first problem has something to do with Adhesive 2.1 Beta, and the fix at <http://wordpress.org/support/topic/31735#post-205543>

    Anyone care to venture a suggestion about how to fix any/all of these?

    I know no PHP, and not much of anything else, either....

  2. Mark (podz)
    Support Maven
    Posted 7 years ago #

    Remove the plugin, upload a newly downloaded copy.
    See what that does ?

    Where is your blog ?
    Who is your host ?

  3. jbn10161
    Member
    Posted 7 years ago #

    podz:

    - The copy I uploaded earlier is the latest version available at http://redalt.com/downloads/

    - If I just upload the downloaded file as is, *nothing* in the plug-in works for me. I have to modify the code as shown at http://wordpress.org/support/topic/31735#post-205543

    - My blog is still in development and has not yet been launched (the two items there are still in revision and I am awaiting some customized theme files to integrate it with the rest of my site), but the URI is http://www.nierenberg.com/articles

    - Host is Dreamhost.com (which, for anyone looking for hosting, is far and away the best hosting service I know of, for lotsa reasons).

    Ideas?

  4. vkaryl
    Member
    Posted 7 years ago #

    You might need to use David Chait's alternative to adhesive. Part of the CG-Powerpack package available at http://chait.net/index.php?p=238

  5. jbn10161
    Member
    Posted 7 years ago #

    Yeah, I've looked at that page about four hundred times today. But the package for the current WP version is still in the lab, and the last version available would require hacking a WP file. After learning enough HTML and CSS to get by, I drew the line at PHP and don't really understand it at all; so I don't want to get into something that requires surgery in the dark.

    I think the ultimate solution may be to discard the idea of adhesive posts altogether, and go with a portal-type home.php page. There, too, though, I'll need someone else to do the coding....

Topic Closed

This topic has been closed to new replies.

About this Topic