Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Just tried using the CC 1 version on Github but when we preview the theme it works for a second before going blank. Like it’s doing a licence check and finding we don’t have one – which we don’t as we were using the free version.

    What can we do?

    Was there no way that V2 of this theme couldn’t have been on a separate branch?

    Nearly anyone that’s created a child theme and hits update is going to have a broken website.

    Thread Starter Roy_Mi6

    (@roy_mi6)

    Well, a vote here to print the invoice rather than the delivery note.

    To us it makes more sense.

    Alternative is an administrator option to set what version gets printed by client when they select print from their account?

    WP v3.5
    Lightbox Pro v2.5.6

    Now that it’s released this is still happening for me – it displays all the images attached to the page rather than respecting the ID’s.

    I’m see the problem if “Use For WP Gallery” is checked regardless of how many galleries are in my page.

    In addition if you create a new page and select to make a gallery from images that don’t “belong” to that page you won’t see any images at all as again, it’s trying to show all images attached to that page – which in this case is none.

    Sorry that I couldn’t be more help ninas but I’m seriously stumped!

    Good luck on this!

    Roy

    Hi Roy,

    What you want to look at is the HTML outputed from the PHP code. Do this by viewing the source of the HTML page itself when viewed in your browser.

    From here you will be able to see what classes you can use to style your links etc.

    In HTML when you specify a CSS class you can specify multiple classes by using a space.

    So you can have a class like this that will style all page links

    .page_item{
      background: #FF0000;
    }

    and this will style the current page item

    .current_page_item{
      background: #00FF00;
    }

    You can then style your indivdual page link items with the corresponding numbered class – where the number is the ID of the page.

    I.e. if you want to style the page link with ID 71 you’d do

    .page-item-71{
      background: #0000FF;
    }

    Hope that makes sense!
    Roy

    No probs. Remember to make the topic as resolved

    Roy

    Thread Starter Roy_Mi6

    (@roy_mi6)

    Ooooooooooooooh!

    I wondered what that setting was for when I originaly set the homepage! Like I said i’m really just getting started with this.

    That works perfectly Bill. Cheers for that.

    For anyone else that finds this it’s maybe worth mentioning that by setting a static page means that for that page that you select as “Posts Page” this will use the index.php in your theme and will thus will override any of the content you’ve entered on the static page.

    Cheers again guys!

    How bizarre!

    Mine appears between “Parent” and “Order” saying

    “Template: Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them above.”

    And allows you to select from a drop down list of all the page templates in your theme directory

    I thought it might have been that the page template wasn’t working but it works fine on my site and appears in the list…

    Have you put the template in your current theme’s folder?

    “/wp-content/themes/YourTheme/”

    Roy

    Ah right ??

    When editing a page go to Attributes -> Template

    Appears below the Publish section on the right hand side. These panels can be expanded and collapsed by clicking on their titles so you might have accidentally hidden it if you cant see the options.

    Roy

    Hi Roy,

    When using the wp_list_pages() method the output to html looks like this:

    <ul>
      <li class="page_item page-item-3 current_page_item">
        <a href="/" title="Home">Home</a>
      </li>
      <li class="page_item page-item-11">
        <a href="/?page_id=11" title="News">News</a>
      </li>
    </ul>

    As you can see each LI has a “page_item” and “page-item-#” class that you could style.

    It will also automaticaly add a “current_page_item” class that can also be styled that will highlight the current page.

    Alternativly, if you are going to be styling each link differently you might just consider hard coding the page links yourself?

    Roy… also ??

    Hi Mwiggins,

    Looking at it quickly i’d assume it’s a “clearing” problem associated with your floated image.

    In the div that has the background colour, after the floated image and body text put:

    <div style=”clear: both”> </div>

    This is a common issue so many developers will create a “clear” class with that same attribute, and a little more (such as “font-size:1px”), so you can just do:

    <div class=”clear”> </div>

    The reason you need this is because floats will float outside of their containers. Adding a div that “clears” the content will make sure that the containing div wraps all your content – floated or not.

    https://www.w3schools.com/Css/pr_class_clear.asp

    Hi Ninas,

    You change your template on a gobal setting – not per page or post. Although this might be possible with a plugin? Anyone?

    Anyway in WP2.7 to change the template go to Appearance -> Themes

    You can then select your theme which will bring it up in a popup. Click the “Activate Theme” in the top right of this to activate your theme.

    If you template doesnt appear in the list you can scroll down a little on this page and it can sometimes tell you what is wrong.

    Roy

    Hi Xephius,

    If your using WP2.7 you can go to the Settings -> Reading page and select a static homepage from there.

    I have just done this with my own site and i think you might run into the same problem I have where once a static homepage is set I am unable to create a “News” page that lists all the posts.

    I’ve created a post here that you might find usuful if i get a reply ??

    https://www.ads-software.com/support/topic/229805

    Hi War,

    With certain hosting you “.htaccess” file migth have a line like this:

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ – [F,NC]

    I THINK this is used to stop hotlinking and COULD be the problem. Try removing this line.

    Let me know how you get on.

Viewing 15 replies - 1 through 15 (of 15 total)