jamesduffell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Media Queries HelpYe that’s the trick, on my iPad so I can’t easily do any tests to really help out any further though sorry.
^JD
Forum: Themes and Templates
In reply to: How to have different flash header on 2nd page?Use the following code in your header, place the flash code after the if statement for the homepage and the alternative code after the else statement.
<?php if(is_front_page() ) { ?> <?php } else { ?> <?php } ?>
Hope that does the trick.
^JD
Forum: Fixing WordPress
In reply to: How to contact publisherJust on my iPad at the moment so it’s a pain to check, but I’d recommend using a Whois tool (google will provide lots of results) and depending on the domain privacy settings you maybe able to obtain the registrars name, email, address & phone number.
It maybe blocked but I hope that helps.
^JD
Forum: Fixing WordPress
In reply to: how do i get usage data?You can install the plugin JetPack which is free from WordPress, this has a fairly basic analytic -/ data tool. For something more advanced I’d definitely recommend installing Google Analytics which allows you to break down more data & set up goals to track visitors.
^JD
Forum: Fixing WordPress
In reply to: Media Queries HelpI’d,suggest keeping the, separate due to my code OCD.
I’ve not done it before but what I suspect you could do is call in a file such as style.php and then within this file run the various queries which intern would link to styles/320.css.
Not sure if you’d like to give that a whirl, I suppose it would mean everything isn’t within style.css :/
It would though eliminate seeing all these queries at the top of your header file.
^JD
Forum: Fixing WordPress
In reply to: Media Queries HelpI think it could be worth checking out the following post on media queries, I have a feeling that’s what you’re after if I’ve understood the question.
https://css-tricks.com/css-media-queries/
^JD
Forum: Fixing WordPress
In reply to: Admin Bar shows in the blog but not in the back endThere’s a strong chance it’s a theme / plugin causing this, firstly revert back to the original WOrdpress theme and then work through the plugins, bugs like this are usually caused by plugin / theme conflicting code.
Hope this helps.
^JD
Forum: Themes and Templates
In reply to: Theme for listing and reviewI don’t have any theme suggestions, but it could be worth checking out BuddyPress, which is all to do with creating a social network, out of a box it may not quite do what your after but with plugins and a good theme you maybe able to create a pretty funky site.
Just thought it maybe something for you to have a look at.
^JD
Forum: Fixing WordPress
In reply to: Is it possible to add a code only to ONE page?Sure you can just use if, I was just trying to explain that you can use it do some tricky things with the else depending on the requirements of your theme. Anyhow there are many guides online if you need further assistance.
The code itself can be placed pretty much anywhere so if you need it within the header.php file it should work perfectly.
^JD
Forum: Fixing WordPress
In reply to: Is it possible to add a code only to ONE page?Here’s a bit more on the uses of if else statements https://www.w3schools.com/php/php_if_else.asp, after the if you’d put what it was you wanted to execute, so in your case it would be the chat code, then after the else tag you’d run any code you wanted on pages which weren’t needed on the homepage.
^JD
Forum: Fixing WordPress
In reply to: Is it possible to add a code only to ONE page?The following script should do what your after, in the below example it will allow you to add some code to just the homepage, a simple modification will allow you to specify a page ID.
<?php if(is_front_page() ) { ?> <?php } else { ?> <?php } ?>
Hope this helps,
^JDForum: Fixing WordPress
In reply to: Static Pages for Parent Pages?@malleryschuplin the simplest solution maybe to duplicate the file page.php (which is used for standard pages) and create a template named page-static.php then apply it to any pages you wish to make static. You can then custom code the template to do / display exactly what you like.
^JD
Forum: Fixing WordPress
In reply to: Youtube does not work, no matter what I do@bklyntaco I’m not sure if this is the case without seeing the theme files but it maybe the case that the homepage is pulling in them excerpt tag or a variation of the code, which is causing the embedded media to be stripped out. Then on the actual post page the content tag is being used meaning all of the content is rendered.
As I say without seeing the code this could be off the mark, I do suspect this is the cause though.
^JD
Good to hear, it’s one of those little things that without knowing can cost you a fair bit of time.
Have you had any success getting the ‘tags’ field to work?
^JD
@feios.gr
I think you may have selected the wrong fields, you can’t create two standard fields and name them ‘first name’ & ‘last name’, what you need to do is select the ‘name’ feed which is based under the ‘advanced fields’ tab within the form builder.
Hope this helps you out.
^JD