Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter rgb_life

    (@rgb_life)

    Sorry! My bad. I updated Mamp and my root directory needed to be updated.

    Thread Starter rgb_life

    (@rgb_life)

    Ha ha ha! Problem solved! I turned OFF synchronization for Custom Fields — and the values now are separate, as I wanted to accomplish.

    Thanks again @chrystl
    I’ve marked the topic as resolved.

    Thread Starter rgb_life

    (@rgb_life)

    @chrystl – Thanks for your reply!

    Yes, I did that. I checked on regular posts (not pages, for which I’m actually going to use the field), and the custom field I’ve registered in the plugin is showing up in the standard “custom fields” selection menu. So I think it’s properly registered.

    Does anyone have a good resource or tutorial for how to set up custom fields that cooperate with Polylang? Maybe my approach needs to be adjusted.

    It seems like such a good plugin, as it handles SEO and the tagline and all that automatically. If I can’t customize it, I can’t use it.

    I’m having a similar problem. I’m writing a plugin that simply adds a textarea to “page” type posts for custom excerpts that I’ll display on the homepage.

    I’m using metabox code from this site to do it:
    http://themefoundation.com/wordpress-meta-boxes-guide/

    I added my textarea’s id to the ‘custom fields’ section in the qTranslate-X advanced settings, so it switches between languages when I’m editing. But when I click update, and the page refreshes, both the Japanese and English values seem to be combined into a single string (or they’re both being spit out simultaneously because I don’t know how to tell it to discriminate).

    I’ve tried a combination of __() and _e(), with no luck. Any guidance or advice would be greatly appreciated! Thanks.

    Thread Starter rgb_life

    (@rgb_life)

    @jjbte: I see, that’s why only Chrome does it. I set the default language URL to not display as a subdirectory (meaning it was automatically going to English but still showing the “/en”), so it was extra confusing.

    Thanks for the advice!

    Thread Starter rgb_life

    (@rgb_life)

    Yes, thank you @jjbte! I tried this and that and right before noticing your response I realized I wasn’t opening the plugin options.

    Then, even after changing things, Chrome kept opening the English version by default. However, other browsers were following my set default (Japanese). I think Chrome was automating things with its own defaults.

    God bless!

    John, thank you for such a robust and useful plugin!

    Thread Starter rgb_life

    (@rgb_life)

    I should specify that the default language is set to English (and shows up as such in the Language Settings admin menu). Also, going to the plain domain “sitedomain.com” brings up the English version.

    Thread Starter rgb_life

    (@rgb_life)

    Oops, I forgot to mark this as resolved.

    Thanks again. You rock, dholloran!

    Thread Starter rgb_life

    (@rgb_life)

    Thank you Thank you Thank you!!

    I guess I’m still getting familiar with theming with WordPress overall. I wasn’t aware of the “wp_get_attachment_url()” function.

    I could do exactly what I want by targeting the first item in the array and dropping the url into an href.

    // Get attachments
    $about_attachments = wpba_get_attachments(array(
        'post_id'             => $post->ID,
        'show_post_thumbnail' => true
    ));
    // get URL
    $resume_url = wp_get_attachment_url($about_attachments[0]->ID);
    
    <p><a href="<?php echo $resume_url; ?>">See my resume</a></p>

    Thanks again. This plugin is a lot more approachable than the more robust alternative “Attachments.” A couple more examples in the documentation or concepts to study (such as this wp_get_attachment_url() function and its brethren), and I think it will be easier to pick up for novices like myself.

    Thread Starter rgb_life

    (@rgb_life)

    Hey! Thanks for getting back so quickly. This looks like a good solution. I’ll post again after I try it.

    Thread Starter rgb_life

    (@rgb_life)

    Well, I’ve tried all the conventional forms for declaring colors: hex, rgb, strings; but to no avail.

    Is it possible that WordPress or twentyten has some filter or CSS declaration going on that prevents certain styles from hitting <dl> elements?

    Thread Starter rgb_life

    (@rgb_life)

    I found a decent solution to this. With the Hybrid Framework, if you add categories to a custom menu, each category will become its own page based on a “category-page” theme template.

    I suppose it would be pretty simple to make a more specific template document if you wanted to include content on only the page for a particular category, as well.

    Thread Starter rgb_life

    (@rgb_life)

    Oh yea, I’m using WP v3.1.4

    Thread Starter rgb_life

    (@rgb_life)

    I’m handwriting code in Dreamweaver.

    Thread Starter rgb_life

    (@rgb_life)

    That’s right. Any HTML placed onto the pages manually (not through the admin system) gets slaughtered.

    However, I found a solution.

    My design has the blog isolated into a news section on the home page, together with other static elements. By placing the static code into a secondary sidebar text block, I could float things around as I wished, and the Japanese text gets processed properly.

    For the other non-blog pages, I can just toss the code (which will be done statically before going to WordPress) into the content entry field of each page in the pages section.

    It’s my first attempt at making a custom theme and so I’m still getting used to how to do things the proper way with WordPress.

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