Some P2 CSS questions?

  • Unknown's avatar

    Hello friendly Happiness Engineers!

    I am using P2 as a simple blog for members to communicate, sort of like a forum. For the most part it looks like it will do what we need it to.

    Can I use CSS to limit/order the type of post that is made.

    My preference is for ONLY a “blog post” as opposed to a Status Update, Quote or Link, but if I can’t have just that, can I at least use CSS to set the “Blog Post” as the default, because most users won’t be bothered changing.

    Can I use CSS to show only the first 20 words or so rather than the entire post even if an extract per se hasn’t been specified? It isn’t very neat (control freak coming out again)

    TIA

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    One more, can I use CSS to display the “Quick Post” entry in the P2 Theme on a normal page, or link to it so that users can do a quick post from anywhere on the blog?

  • Unknown's avatar

    Oh and can I change the word “Permalink” to “Open” since no one in the real world knows what a Permalink is?

  • Unknown's avatar

    Can I use CSS to limit/order the type of post that is made.

    My preference is for ONLY a “blog post” as opposed to a Status Update, Quote or Link, but if I can’t have just that, can I at least use CSS to set the “Blog Post” as the default, because most users won’t be bothered changing.

    That would require access to, and editing of the theme files, and we cannot do that at WordPress.com. CSS is for styling and positioning of elements on a web page and cannot be used to add or change functionality.

    Can I use CSS to show only the first 20 words or so rather than the entire post even if an extract per se hasn’t been specified? It isn’t very neat (control freak coming out again)

    If you were the only person posting, you could manually insert a read more tag into your posts (from within the dashboard post editor) but that isn’t available on the front end of P2 and again is not something that can be done via CSS.

    One more, can I use CSS to display the “Quick Post” entry in the P2 Theme on a normal page, or link to it so that users can do a quick post from anywhere on the blog?

    You could put a link in a Text Widget at the top of the sidebar back to http://forums.afwhs.org/forum/ where the postbox is and then use the Widget Visibility feature to control which pages or page types that widget showed on.

    On the Permalink, add the following CSS to hide “permalink” and show “Open”.

    .thepermalink:after {
        content: "Open";
        visibility: visible;
    }
    .thepermalink {
        visibility: hidden;
    }
  • Unknown's avatar

    So, not to second guess you at all, but I was just wondering, since I can hide Permalink, can I not hide the type of blog posts?

    So hide “Status Update” hide “Quote” and hide “Link”

    I have set the default in the Settings|Writing, but it doesn’t seem to have any effect on this feature.

    Cheers and thanks

  • Unknown's avatar

    And one more question, there is a “toggle comment threads” link on the post page.

    Is there a way for this to be default set to off as opposed to on which is the default?

    Thanks

  • Unknown's avatar

    So, not to second guess you at all, but I was just wondering, since I can hide Permalink, can I not hide the type of blog posts?

    So hide “Status Update” hide “Quote” and hide “Link”

    You can hide the buttons, but if they start typing directly into the text box, you will still get a “standard” post, but a title will not show on the front end. What will show will just be the content typed into the content box. To get a proper post with a title, they would still have to click on the “post” button.

    And one more question, there is a “toggle comment threads” link on the post page.

    On the main posts page that shows the listing of all posts, there is a toggle comments link to the right of “Recent Updates”. On the single post page, there is not a toggle comments button. All comments show by default. You can control the number of comments that will show on a single post page, and you can also set pagination of comments. For more on that see Other Comment Settings on our Settings > Discussion support page.

    Is there a way for this to be default set to off as opposed to on which is the default?

    You can set whether comment threads are shown on the main posts page by default at Appearance > Theme Options under Hide Threads.

  • Unknown's avatar

    Thank you so much! This blog is now looking as good as I can hope it to look, and I’m sure we can work with it! Thank you so much for your help!

  • Unknown's avatar
  • The topic ‘Some P2 CSS questions?’ is closed to new replies.