xdesi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Simple WP Conditional HelpThanks a lot alchymyth for your help, && was exactly what I needed.
Now I look at it I see where I went wrong, I think I was reading || as:
IF the page isn’t temp1 OR temp2 then you can display the following code…
rather than:
IF the page isn’t temp1 OR isn’t temp2 then you can display the following code…
Forum: Fixing WordPress
In reply to: Autoupgrade failed 2.8.6 to 2.9Sorry I can only provide general troubleshooting on the problem ??
1. Try deleting the “Upgrade” folder, and then try the auto upgrade.
2. Refer to this topic with tons of helpful suggestions: https://www.ads-software.com/support/topic/242936?replies=46
Forum: Fixing WordPress
In reply to: Change order of postsNo problemo ??
Forum: Fixing WordPress
In reply to: Pages QuestionIt could be simple but might need modifications to visually appear how you want depending on your theme, so you might want to look at changing theme for an alternative option, but it’s easy to do and most themes should have this by default not sure why yours doesn’t.
Try adding:
<h1>Testing</h1><?php comments_template(); ?>
to page.php
If it works you can remove the
<h1>Testing</h1>
part.If it does not work and you cannot see the “Testing” text it means that your blog page is using a different template file to page.php, you’ll have to find this unless you can list all of the files within your themes folder and I can take a guess.
Forum: Fixing WordPress
In reply to: Autoupgrade failed 2.8.6 to 2.9Do automatic plugin/theme downloads from within admin work correctly?
Forum: Fixing WordPress
In reply to: Problem with permalinkNo problemo ??
Forum: Fixing WordPress
In reply to: Problem with permalinkWhat’s your permalink structure exactly as it appears in admin?
Forum: Fixing WordPress
In reply to: Change order of postsNope CSS is used to control the presentation (look) of a page e.g colours, layout and so on.
You probably need to edit the template file related to the page in which you want to change the order of the posts for, then you can query the posts to change the order of them. See here for an explanation:
https://codex.www.ads-software.com/Template_Tags/query_posts#Orderby_Parameters
Forum: Fixing WordPress
In reply to: Autoupgrade failed 2.8.6 to 2.9Are you running PHP4, if so try running PHP5 and see if it helps.
Forum: Fixing WordPress
In reply to: Pages QuestionMake sure that in the page editor for the blog page you have the checkbox ticked for “Allow comments on this page”.
If this is definatly ticked then you need to either edit page.php or the custom template file you might be using for this page to include the comments template for your theme.
Forum: Fixing WordPress
In reply to: Dropdown menu behind videoDo you have a link to the site in question, wmode transparent / z-index should provide a sufficent fix.
Forum: Themes and Templates
In reply to: CSS Question for Static Pages, Landing Page & Blog PostsYeah did you try the is_front_page() because that might apply here from how you’ve explained, although you can also do something like:
<?php if(is_single() || is_page('news')){ ?> link to stylesheet <?php } ?>
Change the word “news” to the exact name of the page in question if it’s not news, or you can change it to the page ID whichever you prefer!
So the code basically says if the page is a single post page, or is the news page display the link to the stylesheet.
WP has tons of conditional tags like this so it’s very easy to do! You can see here for more info:
https://codex.www.ads-software.com/Conditional_TagsForum: Themes and Templates
In reply to: Deeper drop-down menuHave a look inside header.php inside your themes folder (wp-content/themes/f2/header.php) for something like:
wp_list_pages(somestuff here);
If you find this their might be a depth argument inside the brackets which will limit how deep the list goes. So just remove the depth argument completley in order to get all pages to display.
However on-top of this it is likley your theme may have only designed your dropdowns to go down one-level from a CSS point of view, so this might need to be altered also, it depends how you wanted it to look exactly!
Forum: Themes and Templates
In reply to: CSS Question for Static Pages, Landing Page & Blog PostsWhat’s the blog page, we need a way of distinguishing this? Is it your homepage, your frontpage?
One of these two might do the trick if it is either of those.
<?php if(is_single() || is_home()){ ?> link to stylesheet <?php } ?> <?php if(is_single() || is_front_page()){ ?> link to stylesheet <?php } ?>
Forum: Themes and Templates
In reply to: CSS Question for Static Pages, Landing Page & Blog PostsYou would like a seperate stylesheet for single blog post pages?
This would do that:
<?php if(is_single()){ ?> link to stylesheet <?php } ?>