idesign123
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: First Post Different – almost there…Hey, that worked great!
The only tweak I want to make is to have the top post different ONLY on the first page.
A search gave me the following code snippet…
<?php if($i == 0 && $paged == 0):?>Could that perhaps be combined with your code somehow?
Or another way to make the top post different only on the first page?Adsleeblythe –
I’m hoping to do EXACTLY the same task as you did (integrate Salesforce with Event Manager). Can you please try to post your code again? Perhaps use “pastebin” or send it in chunks of 10 lines?
I would be so very grateful!!!
Forum: Fixing WordPress
In reply to: Posts from all Categories except 2Hey, I figured out my own question 🙂
Just change it to…
‘cat’ => -1,-5Hopefully that helps someone.
Forum: Fixing WordPress
In reply to: Only posts from one CategoryOops, looks like I need one more minor tweak…
Can this be adjusted so instead of showing posts from category 21, it shows posts from all categories EXCEPT categories #1 & 5?
After that tweak, it should work perfectly.
Forum: Fixing WordPress
In reply to: Only posts from one CategoryYes, that did the trick!
Thank you so much 😀Forum: Fixing WordPress
In reply to: Change page_id to pagename in code?Thanks Alchymyth!
In case anyone finds this thread by search, here’s the code that worked…
<?php $page_id = aboutus; $queried_page = get_page_by_title($page_id); ?> <h2><?php echo $queried_page->post_title; ?></h2>Thanks again 🙂
Forum: Fixing WordPress
In reply to: Change page_id to pagename in code?The reason is complicated – Basically I’m taking this code and tying it into a CMS interface. My client enters the name of the article (the “slug”) and this is entered into the code automatically. Worst case is that I’ll need to teach my client how to figure out the “page id” for each page, but it would be a lot easier for them if they just had to enter the slug.
Does anyone know how I can make that change?
Forum: Fixing WordPress
In reply to: Latest posts on HTML site – without PHP?Thanks for your help 🙂