WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] problem displaying content (17 posts)

  1. nadir suliman
    Member
    Posted 1 year ago #

    I have a wordpress installation on Ubuntu 12.04 (Apache/2.2.22 (Ubuntu), MySQL client version: 5.5.28, PHP5).
    My problem is that the content is displayed as shortcodes:

    Homepage Example
    
    [slider margins="-70,0,0,0" shadow="shadow-xl" align="aligncenter"]
    
    [text text_align="text-center" size="40" line_height="60"]The Next Generation of WordPress Themes[/text]
    
    [text text_align="text-center" color="#666" width="880" right="auto" left="auto"]This is just an ordinary WordPress page that has been customized using SuperMassive’s huge array of shortcodes..[/text]
    
    [curved]
    
    [four type="joint" height="260"]
    [text font="Lucida Grande, Lucida Sans Unicode, Arial" other="font-weight: bold;" size="15"]Lorem ipsum dolor[/text]
    [text color="#777"]Sit amet, consectetur adipiscing elit. Nam a augue augue. n vel feugiat felis.[/text]
    [image url="http://localhost/Portal/wp-content/themes/supermassive/lib/images/placeholder1.png" width="190" height="140" shadow="shadow-s" left="8" bottom="10" align="aligncenter"]
    [/four]

    I'm not sure why the content isn't parsed as it should be so I'm looking for any help.
    Thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Does your template use the_content() in its Loop?

  3. nadir suliman
    Member
    Posted 1 year ago #

    Don't know. Can you help me determine if it does? Don't know where to look

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Are you using a static front page or a page of recent posts? What theme are you using? Where did you download it from?

  5. nadir suliman
    Member
    Posted 1 year ago #

    theme is twentyeleven, default one that came with the wp instalation

  6. nadir suliman
    Member
    Posted 1 year ago #

    but i've the same problem with any theme

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Are you using a static front page or a page of recent posts?

  8. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    none of the used shortcodes are part of the default WordPress code;

    are you using a plugin to provide those shortcodes?

  9. nadir suliman
    Member
    Posted 1 year ago #

    sorry, static.

  10. nadir suliman
    Member
    Posted 1 year ago #

    @alchymyth
    no i'm not. don't have any plugins installed. it's a fresh wp instalation.

  11. nadir suliman
    Member
    Posted 1 year ago #

    hm.. i see your point now regarding those shortcodes. they're supposed to be from another theme i was trying out.. how these got mixed up?

  12. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    So where are these shortcodes coming from? You can't just enter any shortcode and expect it to work. You have to be using a plugin or theme that created and parses the shortcodes.

  13. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    how these got mixed up?

    My guess is that you entered and were using them with the other theme. Problem is that they won't work at all with any other theme. So you will just have to edit the page and remove them.

  14. nadir suliman
    Member
    Posted 1 year ago #

    I was trying out couple of themes. Haven't been paying much attention to the shortcodes once they've started to show up on homepage, but now I see to what theme they belong to. Also, they apear no matter which theme I activate. Will try to delete that theme and see if it helps

  15. nadir suliman
    Member
    Posted 1 year ago #

    hm.. I've deleted the theme that was causing the shortcodes problems, but even after apache restart I'm still getting same shortcodes on every theme I activate. Guess it's pulling those from some cache.. Getting a bit paranoid, so will try to delete cache and if that doesn't help I'm going for the fresh install.
    Thank you all for quick replies and help

  16. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Did you add these shortcodes to the page's content via the WP editor?

  17. nadir suliman
    Member
    Posted 1 year ago #

    No I haven't. Short-codes were a part of template (theme) I've tested on my WP installation. Once I switched back to another one, they somehow continue to show up. I've traced back steps of installation, and I did have one step that might caused the mix up. At one point, WP wouldn't let me install themes automatically, due to lack of rights to make a dir inside wp-content folder. I've then used gksu nautilus that allowed me to copy/paste files to var/www/.. and copied the theme by hand. Also I've set dir permissions to allow root and one more user name to be able to read/write on wp-content/. At one point, I had theme(s) placed in wp-content folder, but didn't see them via WP install/modify theme tab, after which I've restarted apache/mysql and they've showed up. Not sure but I think that has caused the mix up, but not sure.
    Good thing in all of this is that its' a test environment.

Topic Closed

This topic has been closed to new replies.

About this Topic