• this is my first, and unfortunately im asking for help. but that would probably be the case with other users here as well ;p
    im looking for some way to give a target location to the <!–more –> feature, i only know html/css and i can vaugely edit php. but i tried zooming through the tables of the database and did find a entry called link_target, can i edit that somehow? or is that even the right thing i should be looking at.
    any help into this matter would be greatly appreciated.
    PS. i have tried wrapping an “a” tag around the <?php the_content(); ?> tag but no worky ;/
    thanks in advance
    <3 the updates to this software, a bit more extensive and complicated but nonetheless a better piece of work overall
    GJ

Viewing 11 replies - 1 through 11 (of 11 total)
  • You’ll want to look at the template-functions file, or template-functions-post.php if you’re using a newer version. I don’t have access to the source right now so I can’ tell you exactly where, but if you search for “more” or something like that you should be able to find the function.

    Thread Starter mage111

    (@mage111)

    thanks allusion, most helpful.
    i’ll letcha know if i find it & if it worked.
    <3

    Thread Starter mage111

    (@mage111)

    well i used the last nightly build, upgraded, and searched the 2 files you mentioned.
    i tried adding <b>target=”i”</b> (i = name of iframe), but no luck.
    i dont know if there is a php command i can use instead of html’s. and if thats not possible, is it possible to add some kind of ‘global target’ hack, where every link displaying on the site would be pointed @ the iframe name?
    anyways thanks for the ideas i may stumble apoun something still. any help or suggestions would still be most appreciated 😉

    You could always set <base target=”NAME OF IFRAME”> in the <head>, but you would probably be better off rethinking whether the iframes are really necessary. WordPress is a standards-compliant tool and as such isn’t really meant to be used with frames.

    wordpress is not designed to work with tables either… but it works.
    so it would work with inline frames too… and i guess inline frames are xhtml compliant… correct me if i am wrong…

    well the base target suggestion worked. but it worked without me knowing how the script worked with that <!–more–> command.
    it would seem because the page rewrites itself fully, the ‘iframe’ im using is filled with an entire layout, rather then (and i dont know why i was thinking things) just the news post.
    is there any way to create a hack for this. i would need the script to spit out just the text into the iframe ratehr then the entire layout.
    http://r7.gotdns.com/westman/
    is where im workin on it, if you care to checker out and see what i mean.
    anyways, thanks for all the feedback, its got me closer at least

    well the base target suggestion worked. but it worked without me knowing how the script worked with that <!–more–> command.
    it would seem because the page rewrites itself fully, the ‘iframe’ im using is filled with an entire layout, rather then (and i dont know why i was thinking things) just the news post.
    is there any way to create a hack for this. i would need the script to spit out just the text into the iframe ratehr then the entire layout.
    http://r7.gotdns.com/westman/
    is where im workin on it, if you care to checker out and see what i mean.
    anyways, thanks for all the feedback, its got me closer at least

    Thread Starter mage111

    (@mage111)

    well the base target suggestion worked. but it worked without me knowing how the script worked with that <!–more–> command.
    it would seem because the page rewrites itself fully, the ‘iframe’ im using is filled with an entire layout, rather then (and i dont know why i was thinking things) just the news post.
    is there any way to create a hack for this. i would need the script to spit out just the text into the iframe ratehr then the entire layout.
    http://r7.gotdns.com/westman/
    is where im workin on it, if you care to checker out and see what i mean.
    anyways, thanks for all the feedback, its got me closer at least

    Thread Starter mage111

    (@mage111)

    well the base target suggestion worked. but it worked without me knowing how the script worked with that <!–more–> command.
    it would seem because the page rewrites itself fully, the ‘iframe’ im using is filled with an entire layout, rather then (and i dont know why i was thinking things) just the news post.
    is there any way to create a hack for this. i would need the script to spit out just the text into the iframe ratehr then the entire layout.
    http://r7.gotdns.com/westman/
    is where im workin on it, if you care to checker out and see what i mean.
    anyways, thanks for all the feedback, its got me closer at least

    Thread Starter mage111

    (@mage111)

    wtf.
    sorry guys, spent 15minutes for 1 post to show up and like 5 show up at once. my bad

    since the entire page is rewritten for the <!–more–> command, is it possible for me to write what the <!–more–> command does, in another div box on the page, because the way my layout is setup, its designed to have the ‘more’ open on another spot in the page, and not the entire page reloaded, as it does with the iframe

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Giving a target to <!–more–>’ is closed to new replies.