Forum Replies Created

Viewing 4 replies - 46 through 49 (of 49 total)
  • Thread Starter lcwakeman

    (@lcwakeman)

    To assign a template to a post, I need to add (edit if they already exist) two entries to the postmeata table, meta_key = _edit_last, meta_value = user id and meta_key = _wp_page_template and meta_value = the filename of the template.

    As for getting a list of the templates, I think I am stuck with poking through the php files in the template directory looking for template files.

    Any other ideas?

    Thread Starter lcwakeman

    (@lcwakeman)

    Looking still further, the nefarious (extra points for spelling that correctly first try) links are the first element in either an article or an aside block. Curiouser and curiouser.

    Thread Starter lcwakeman

    (@lcwakeman)

    I did some more examination and it happens with the first item in the sidebar. It can be a <p>…</p> for header, even an anchor will be changed to the homepage url. The top header on pages also have this.

    I found the following will work.

    <a href="#top">Show Cart</a>

    You can’t apply a class to the anchor or it will not work. I was bale to put a soqn around the tag. I did this in a theme file. In a porst you may want to look at the Raw HTML plugin.

Viewing 4 replies - 46 through 49 (of 49 total)