Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter phobic

    (@phobic)

    Hi, apologies for the delay replying..

    This was because my original plan for laying out content was to show two or more categories in each area – I have switched these around, and the problem still persists.

    worded another way, my problem is this: I have a custom home page showing posts instead of index.php, but my contact page uses a template based on page.php – that page should show the contact page and posts from a certain category on one side of the page – this is not happening, instead the contact form is shown twice.

    Here is the page:

    https://whiskerspaws.com/contact/

    Here is the code:

    https://wordpress.pastebin.ca/1703174

    Many thanks in advance!

    Thread Starter phobic

    (@phobic)

    The custom template is here:

    https://wordpress.pastebin.ca/1701138

    Again, this should show the contact form on the left, and the posts from one particular category on the right.

    Thread Starter phobic

    (@phobic)

    many thanks apljdi, that makes perfect sense. ??

    Forum: Themes and Templates
    In reply to: image in post
    Thread Starter phobic

    (@phobic)

    the image is placed when writing the post – so the image is within the ‘<p>’ tag, along with the body text of the post.

    Thread Starter phobic

    (@phobic)

    okay, figured out what was going on.. another javascript loaded in the header was interrupting it..

    Thanks.

    Thread Starter phobic

    (@phobic)

    Hi – apologies for the slow posting, I have been trying many different methods to resolve this issue, including the ones suggested here. I have found that I can make minor changes to widgets.php to standardize the sidebar, along with the css tip above by Otto I have been able to achieve everything I need. Many thanks!

    Thread Starter phobic

    (@phobic)

    my site is at:

    https://iphonecafe.org

    one example of a problem I’ve faced is in the sidebar, I wanted to replace the widget titles with an image – I’ve achieved through a horrible hack, you might be able to see I’ve just shrunk the text down to 0.1em and placed a background image. Normally I’d do:

    <a href="#" id="linkHiddenTxt"><i>My Title</i></a>

    and then use CSS to set margin-left on <i> to -999em, which creates stantards compliant, accessible code. However, to achieve this using widgets I would have to edit the PHP code somehow.

    It seems a shame, I love the new way of controlling the sidebar, I hoped I was missing something regarding the usage of the new widgets.

    Many thanks,

    Toby

    Thread Starter phobic

    (@phobic)

    Thank you both for the replies – Evita, this seems interesting – my PHP isn’t as strong as it could be, but this looks like exactly what I’m after. If I’m reading this code correctly, this loops through any sidebars whether there is one, two or three, and removes any

    • items, and adds <h2> to the titles. Does that sound correct? If so, would I simply paste in this block of code at the bottom of functions.php?
    • Thanks again for the help in advance..

      Toby

    Thread Starter phobic

    (@phobic)

    I really do hate to be ungrateful, and I’m sure I’ll use this, but..

    I’m looking for a way specifically to show the first post on the home page in full, and every post after that as an excerpt.. I’d rather not have to edit each post with the <!–more–> tag, and while the plugin certainly seems useful, it’s not exactly what I’m after – and I *KNOW* someone has done this before.. I want one full post, two semi-posts on the home page PLEASE!

    Thanks in advance,

    Toby

    Thread Starter phobic

    (@phobic)

    okay, I figured out how to query the database and get the 5 most recent posts, and I even have them flowing into a

      . But they don’t have hyperlinks, and I can’t seem to get this bit right.

    my code is:

    echo ”

      {$row[‘post_title’]}

    “;

    which creates a list of 4 most recent posts, which I can then style with css. BUt I’d like to add a unicode character before each item, and 3 full stops after ‘…’ to denote more on click, and I need the relevant hyperlink on each item.

    Can anyone help pls?

    Thread Starter phobic

    (@phobic)

    Thanks for the reply – I’d rather not upgrade to be honest, wordpress 1.2 is already far in excess of what I actually need, and I can’t work with 1.5 in the way I need to.
    If there is a way to query the SQL database and just populate an unordered list, I’d rather do it that way..

Viewing 11 replies - 16 through 26 (of 26 total)