Everything posted by EpicWebs
-
Double Margins ?
If what you were looking for was something like, 12px + 12px margin then look into using a CSS preprocessor like SASS or Less.
-
Wordpress site needs to be static?
Yea, I would ask them to confirm what they mean by static.
- Help! Missing form data after "submit"
-
Help! Missing form data after "submit"
You have to set a name on your input fields. <input type="text" class="textbox" value="name" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'name';}"> Should be <input type="text" class="textbox" name="name" value="name" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'name';}"> Good luck!
-
Keyword rich URL's
It's not really worth the effort and all the 301 redirects you would have to do, especially as the site is 4 years old. I would focus on making it work easily for the user (which is normally why you categorise or separate content) and then focus on building up content and making sure it's shared as many places as possible, rather than spending time changing the urls. Good luck with your site
-
Help needed with ACF on home page
You should reset the post data on your loops. Although i'm not sure why grabbing the posts and then just using a foreach would be affected by it... but it probably is. <?php // The Query query_posts( $args ); // The Loop while ( have_posts() ) : the_post(); echo '<li>'; the_title(); echo '</li>'; endwhile; // Reset Query wp_reset_query(); ?>
-
Quick question
There is areas of caching to look out for. Browser cache (Press CTRL + F5 on windows or CMD + R twice on a mac). Caching Plugins, like W3 Total Cache, you will need to clear all the cache, although this doesn't usually affect images/text in post content. CDN Caching, if you are running anything like CloudFlare, this can cache too, so you need to turn it in development mode whilst your developing and then purge the cache when you are finished. If you are still getting issues then it's more likely an issue with a plugin or theme stopping you from being able to edit content.
-
Client Hasn't Paid
I would go with this and also make him aware that you are doing nothing at all to harm the reputation of his company, he is doing it all himself.
-
problem in Encoding the special character & for getting result in php
What's probably happening is: $_GET['s'] = html $_GET['php'] = "" If you want to grab if it's HTML and php and you definitely can't change the URL then your going to have to hack it around and do something like: If(isset($_GET['php']) && $_GET['s'] == "html") { $s = "html&php"; } Then use $s and rawurlencode it. Good luck!
-
Degree or not
If I was to take a degree I would take one based on Business or Organisation or some sort?!?, I feel like that would be more helpful for me than trying to enhance my current expertise.
-
lang attribute - changing background
You would probably be better off detecting the language and then serving up a different stylesheet for it.
-
Knowing what theme files to edit
One thing that can be useful is looking at the body classes, <body class="category"> sometimes they will have things like: page (page.php) single (single.php) archive (archive.php) category (category.php) But this is only if your theme supports body classes.
-
Advise on Wordpress Business Directory
If your plan is to handle it yourself, then a lot of testing in advance of launch would be my advice, you want to make sure that you can prevent any spam or harmful submissions automatically rather than having to individual reject any that aren't suitable - as this is what I imagine is going to take up most of the time if it's successful. Good luck, i'm sure you can do it!
-
MQ Page breaking on devices
It's difficult to tell without some code, but once I moved away from device width and started focus on when my website needed to respond as a certain width everything became a lot easier with responsive. It's only my experience and your welcome to ignore it, but I'm thinking it would help you resolve your landscape situations as probably the real device width in pixels could differ and that is what is causing your MQ to break.
-
WordPress Meta_Query and Tax_Query
In case anyone was interested, I could not get this to work at all. So I ended up falling back to a MySQL query.
-
WordPress Meta_Query and Tax_Query
I've asked everywhere I know and no one can help me with this, I am just wondering if it's a limitation with WordPress Meta Queries + Tax Queries.
-
WordPress Meta_Query and Tax_Query
Hi guys, sorry I should of replied earlier. So yes I am getting the fields from the front end and passing them into an ajax function. One of the fields is a true Id and the others are slugs, which is why I am using FILTER_SANITIZE_STRING on most of them except one. The users on the front end select different boxes which are assigned slugs and one is an id, which is passed to the ajax function, this function is then used to query posts and return some data. What is happening at the moment is, it's returning data but it's not returning data that has ALL of the criteria, it's returning data that has some of the criteria and to be honest it's a bit random, but the same random each time... if that makes sense.
-
MQ Page breaking on devices
I think it's not a great idea to target specific device width with media queries, instead I would target when your website needs to change. Once you hit a certain width and your website starts to scroll horizontally or looks bad, then make the necessary media query and start to look into a more fluid width. Good luck
-
Can't get my submit button in the proper CSS
Your html has a bit of a wierd markup. <a class="btn"><input id="submit" type="submit" name="submit" value="Verzenden"></input></a> It should look like <input class="btn" id="submit" type="submit" name="submit" value="Verzenden" /> Then you target the input button with your CSS, at the moment you are targetting the <a> tag around the outside of the input button. Good luck
- help packaging code into a plugin
- help packaging code into a plugin
-
WordPress Meta_Query and Tax_Query
I am expecting too much from WordPress. Should this meta_query and tax_query combined work like I expect it to? http://pastebin.com/cC9q7BR7 Thanks for any help.
-
Breakpoints in RWD
This is my approach exactly and it's worked for quite a while. I add in break points for when the website needs altering not for when I hit a certain screen size of a specific device.
- help packaging code into a plugin
-
Customising a unique jumbotron/carousel
Can you not just include them inside the original video. Seems overly complicated.