phobic
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: mixing posts and pagesHi, 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!
Forum: Fixing WordPress
In reply to: mixing posts and pagesThe 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.
Forum: Fixing WordPress
In reply to: jQuery in WordPressmany thanks apljdi, that makes perfect sense. ??
Forum: Themes and Templates
In reply to: image in postthe image is placed when writing the post – so the image is within the ‘<p>’ tag, along with the body text of the post.
Forum: Fixing WordPress
In reply to: Contact Form 7 problemokay, figured out what was going on.. another javascript loaded in the header was interrupting it..
Thanks.
Forum: Themes and Templates
In reply to: Widgets Making Theming TrickyHi – 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!
Forum: Themes and Templates
In reply to: Widgets Making Theming Trickymy site is at:
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
Forum: Themes and Templates
In reply to: Widgets Making Theming TrickyThank 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
Forum: Themes and Templates
In reply to: Wondering About ExcerptsI 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
Forum: Fixing WordPress
In reply to: snippet on separate page?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?
Forum: Fixing WordPress
In reply to: snippet on separate page?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..