Support » Plugins » Playin’ With AsideShop

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thanks, Dan! I appreciate it! Glad it works for you!

    I’ve got a couple (a few?) questions:

    1. Where do the tags that you use in SideShop come from (I think I remember seeing them somewhere before)?

    2. Are there any more possible tags (i.e. for “tags” or “categories:, etc.)

    3. Is it possible to create new tags myself – starting at line 46 in the asideshop.php file – and is that the only place within the file that I need to modify in creating a new tag?



    Thanks for the questions.

    1. All tags are defined in asideshop.php around line #46. There are two ways to parse the tags:

    a. Parse all at once. This method is safier but processing takes more time.
    b. Parse only those tags that are used in templates. This method uses eval() and therefore is not as safe as first method but processing is much faster.

    The second method is the one that is used by default. The first one – I think I just left it there after performing tests and didn’t bother to remove it, though I think I will since it cannot be switched by the user. Makes lots of confution for those who wish to hack the code and add needed tags.

    2. Email me with your request for tags – miro [at] apollo [dott] lv. One thing, though – currently I’m not planing to add tags which take arguments, like %post_date format="d-m-Y"%. I might in the future.

    3. Sure, hack the code as much as you want! Yeah, tags array is around line 46. That’s the one you need.

    Take care!

    One thing, though – currently I’m not planing to add tags which take arguments, like %post_date format=”d-m-Y”%.

    Does that mean that I cannot add the date at all or just that I cannot change the formatting for the date from the default?


    It means that you cannot change the date format within AsideShop date tag. %post_date% tag uses the format specified in WordPress as a default date format.

    Is there a way to get the date to show on every post instead of just the first post of a specific day?


    Erm, I think I didn’t get your question. What you ask for is the default behaviour. If you add %post_date% tag in your AsideShop template, it will appear for every aside post.

    Sounds like you got it, actually. I thought it was some sort of a date bug in WordPress but it appears that, for me, using the %post_date% template tag is placing the date only on the first post of a given day and not on the others. It only affects AsideShop posts. Check it out.

    It’s like I’ve accidentally stumbled on a way to solve @presta‘s problem =-)

    The template I am using seems to place the date on every post so I have ruled that out.

    Any ideas?

    The template I am using seems to place the date on every post so I have ruled that out.

    Just to eliminate any confusion, I meant theme above not template and It is DePo Skinny that I am using as the basis of my custom theme.

    Can anyone tell me how to make it look different? Right now the asides are just showing up between posts as text on white backgrounds. I want to change the background color, put it in a box or something to make it stand out and look different. How do I change the style and where? Thanks.


    Will check out the problem with post_date tag. Thanks for bug report!


    You can change your styling with inline css. Like,

    <div style="background-color: red; border: 1px solid yellow;">%post_content%</div>.

    Of, if you have styles defined in outer file, then just apply the styles, like

    <div class="my_post_style">%post_content%</div>.

    maijs, thanks for the tips. I’m not very adept at altering CSS, so where would I put that in the style.css file and how does it know that I’m referring only to the asides?

    Or do I put that in the asides template in the asides options area?


    If you use inline styling (include style definitions in tag attribute style=”..”) then it’s sufficient to make it work. If you use outer file, like, style.css, then you need to define styles in style.css and then apply those in your tags.

    Both ways would work but defining in style.css is a cleaner approach.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Playin’ With AsideShop’ is closed to new replies.