WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How do I change the order of the title attributes

[Resolved] How do I change the order of the title attributes

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author awpcp
    Participant

    @awpcp

    Hi Pete,

    Well, you can’t alter the structure the way you want. AWPCP only controls everything AFTER the page name. WordPress puts the name of the page in the title automatically. We can’t stop that.

    I would need to dig this up–I don’t know it off hand. I’ll see what I can find.

    Plugin Author awpcp
    Participant

    @awpcp

    Hi Pete,

    My developer said to look in frontend/meta.php.

    Here’s what else he added:

    That’s one place where he can change the order of the title parts.

    The seplocation argumento to the wp_title[1] function also has an effect on the order in which the parts appear in the title. He may want to try changing that argument in his theme, before doing any modification to AWPCP, maybe that solves his problem.

    1. http://codex.wordpress.org/Function_Reference/wp_title

    perthmetro
    Participant

    @perthmetro

    Thanks for that i’ll see how i go. It’s interesting that the ad title isn’t first as this is generally what is recommended for good SEO. Is this worth something to consider in a future update?

    Plugin Author awpcp
    Participant

    @awpcp

    The ad title isn’t the page title. Page titles go first, but since we use the page to display all ads, that’s why they say “Show Ad”. WordPress controls that for us, although we will look to revisit it in the future I think.

    Hi.
    Is there any way to remove the name and email fields? Or at least make the name and the email fields not required?
    Thank you.

    Plugin Author awpcp
    Participant

    @awpcp

    Hi sadviser,

    Have you checked under Classifieds->Settings, Form Field tab? The fields can be set to visible/not required there.

    Hi awpcp.
    I have checked and both the name and email fields are not there. The fields listed are Posted By, Phone, Website, Price, Country, State, Country/Village/Other and City.

    Hi again.
    Happy New Year!!
    Do you know a way I can change it in the CSS editor??
    Thanks.

    Plugin Author awpcp
    Participant

    @awpcp

    Hi sadviser,

    Sorry, I should have read your original post more carefully. You can’t make email not required, ever. That field is how we send notices about the ad (renewal, expiration, editing, approval) so it’s required for a reason.

    The name is used for the Contact field to display in place of the email address, so it too is required.

    Making them hidden via CSS would be a bad idea. You’d have to hack the plugin internally in a lot of places to change this behavior.

    Thank you for your reply.
    Are you able to guide me in hacking the plugin? The reason I ask is because I am building a new site for the company I work for and they are a newspaper. Their previous website had the facility to insert a classified ad and did have the name and email fields but they were not required, so all of the classified ads that have been submitted previously either don’t have a name or email or both. This means I cannot enter their classified ads into this new system. If this cannot be done I will have to find another plugin to use.
    Thank you.

    Plugin Author awpcp
    Participant

    @awpcp

    Hi sadviser,

    This is not an easy hack to make, so can I make another suggestion? Use a default email address (maybe create a Gmail account for this?) that you use for all ads just so you have something in there. Probably MUCH faster than hacking at this point.

    If that doesn’t work, I understand.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] How do I change the order of the title attributes’ is closed to new replies.