Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Cipherlad

    (@cipherlad)

    Ugh. Turns out all I had to do was put the file in public_html instead of wp-content.

    Forum: Hacks
    In reply to: locale vs. load_textdomain
    Thread Starter Cipherlad

    (@cipherlad)

    I wonder what might be loading the language files, then. I only have one plugin activated, and nowhere in it does it hook/override any of the _textdomain() functions.

    I’m working in 3.3.2

    Thread Starter Cipherlad

    (@cipherlad)

    A clear, concise, and complete answer. This is exactly the pointer I needed. Thank you. I’ll try this out over the weekend and post back if there are any problems.

    Does anyone know how to get the filtering to work on the index.php page? I’m starting out with a completely barebones template, created some subdomain categories, and posts associated with them. On the index.php page, the links for the posts show the subdomain, so it appears I have all that set up… but it shows posts for all subdomains, not filtered for the subdomain in the url.

    Thread Starter Cipherlad

    (@cipherlad)

    Thanks, but that doesn’t help me. I’m looking for a permanent solution so there won’t be any duplicates in the future. I’m working on a large scale web site, and the need to have someone constantly monitor it for duplicates is unacceptable. If I understand what’s going on, I can come up with a solution.

    Thread Starter Cipherlad

    (@cipherlad)

    About 200 categories, and many more tags, connected to between 2000-3000 thousand existing posts. Like I said, not practical to do it manually.

    I can determine the post IDs. That’s not an issue. The whole project is a little complex, but suffice to say I’m generating an in-memory collection of the post information with a collection of categories and tags (just the strings) that may or may not exist already in the database.

    I’d love to just have a database function or procedure I could pump these into, but I couldn’t find anything like that. I think right now my biggest caution is the slug field in wp_terms. That’s unique in the database, but I don’t know what the slug generating code is like. I’ll need to be able to insert into wp_terms and query back for the term_id, and slug is the only field I can query on to get that result.

Viewing 6 replies - 1 through 6 (of 6 total)