Need help? Check out our Support site, then


Protected Posts in Imbalance 2

  1. Hi,

    I am having trouble with the Protected Posts in Imbalance 2. My site is http://www.danishkurani.com and temporary password for the posts is "press".

    1) I protected some of the posts AFTER publishing them. Now, a simple Google search is crawling the content from those posts which I want to keep hidden from the general public. How can I stop them from showing up in web searches?

    2) On the homepage of this theme, is it possible to have Protected Posts appear just like normal ones - not reading "Protected" and also showing a full snippet from the project text - and only once a visitor clicks on the thumb and is directed to the project page would they see that it is protected and requires password?

    3) If number2 is not possible, is there a way to change the text on the homepage for Protected Posts to say something different than "There is no excerpt because this is a protected post" ?

    Thank you in advance for any help!

    The blog I need help with is danishkurani.com.

  2. 1) I protected some of the posts AFTER publishing them. Now, a simple Google search is crawling the content from those posts which I want to keep hidden from the general public. How can I stop them from showing up in web searches?

    If Google crawled the post before the posts were protected, then they got placed into Google's cache which doesn't get changed very often once content is set. You can make a request directly to Google to remove such pages, but how long it takes them to do it will be up to them and they may also request that you completely delete the pages first (rather than making them private). You should contact Google directly about the issue.

  3. 2) On the homepage of this theme, is it possible to have Protected Posts appear just like normal ones - not reading "Protected" and also showing a full snippet from the project text - and only once a visitor clicks on the thumb and is directed to the project page would they see that it is protected and requires password?

    There is not a way to do that here on WordPress.com. If you wanted to switch to a WordPress.org setup, then you could get something like that custom coded if you hired a developer or found a plugin in the WordPress.org plugin directory. It sounds like a pretty custom request to me though (versus being able to find a plugin that already does what you're asking).

  4. 3) If number2 is not possible, is there a way to change the text on the homepage for Protected Posts to say something different than "There is no excerpt because this is a protected post" ?

    That's not possible either. It sounds like what you need is access to the code to be able to customize it directly. You can get that by using a WordPress.org setup. See http://support.wordpress.com/com-vs-org/ to learn about the differences.

  5. @designsimply - thank you for your responses. I have the ability to customize the CSS and paid for that upgrade. Is there no CSS coding that I could alter/modify to allow me to change the properties of a protected post? Is there a big difference between customizing CSS and doing a wordpress.org custom coding?

  6. Is there no CSS coding that I could alter/modify to allow me to change the properties of a protected post?

    CSS lets you change appearance of already existing content. You cannot use CSS to add new, dynamic content where it didn't exist before. For example, you can't add a snippet of a post to your home page for a protected post using CSS, but you could alter how the private post titles and password form field look.

    Is there a big difference between customizing CSS and doing a wordpress.org custom coding?

    Not really. The biggest difference is probably that you cannot use the "@import" rule on WordPress.com, but you probably don't need it anyway.

  7. @designsimply - thanks again. So if CSS lets you change the appearance of already existing content, by that logic I should be able to change what the protected post snippet on the home pages which currently says "There is no excerpt because this is a protected post" to something else such as "Contact us for more details about this project" right? How would I do that in the custom CSS? (I have the upgrade)

    Thanks!

  8. Designsimply already said you can't do that.

    You're saying: I can change the appearance of already existing content therefore I can replace the content with other content. This is not "by that logic" (or by any logic). CSS allows you to change how an element looks (font, color, size, border etc etc), not what it says.

    Now, to be more precise, there is a trick that might allow you to change the content when it is a plain text snippet (not when it is a link like the post title), but all the posts on the front page have the same CSS selectors: you cannot target a specific post, so the most you could do with that trick is make all the posts display the same alternative snippet (which is clearly useless).

  9. Your latest explanation with specific examples makes it easier to see what you're trying to do. Justpi explained it well—you can hide the "There is no excerpt because this is a protected post" text by figuring out the selector for it and setting it to "display: none" in the CSS. And then you can use the "content" property in CSS on some HTML element nearby to add new text. But note that you can only do it IF you can find a unique selector to target the text inside private posts (I think that should be possible, but you need to test).

    Here is an example:

    SELECTOR_FOR_STUFF_YOU_WANT_TO_HIDE {
    	display: none;
    }
    
    SELECTOR_FOR_SOMETHING_NEARBY:after {
    	content: "Contact us for more details about this project.";
    }

    Replace SELECTOR_FOR_STUFF_YOU_WANT_TO_HIDE with the selector of the text you want to hide.

    Replace SELECTOR_FOR_SOMETHING_NEARBY with a selector that will target something one level up from the content you hid, maybe even the password form itself.

    If you're not sure what a selector is, start here:
    http://www.htmldog.com/guides/cssbeginner/

    You can figure out the selectors by viewing the page source. If you need help figuring them out, post a link to an example so someone can take a look.

Topic Closed

This topic has been closed to new replies.

About this Topic