Webb Food Services

From the to-do list: CMS/Port Dev

✔ Port Content To Wordpress Theme

Comments

Justin Bernard on August 20, 2015:

temp site setup on

client.fleeangrybear.com/webb/

login
http://client.fleeangrybear.com/webb/wp-login
webbfoodservice
sneakybear

we can talk it through on friday

Taylor Bernard on August 21, 2015:

i think
 i have all the main content ported over.
hardlinked the css to get it working, trying to figure out the linking issue as images and fonts are linking correctly.

also. when i change page name in WP console. it just calls a page say /webb/projects

is that projects.html or .php or what? what do i link to it say from home to get there?

Taylor Bernard on August 25, 2015:

heres the main pages image issue:

http://stackoverflow.com/questions/6924722/custom-wordpress-theme-layout-images-not-displaying

https://wordpress.org/support/topic/templatepath-images-direcotry

everyone saying the same thing. yet its not running the php on the main pages. i saw a post about someone making a plugin to be able to execute php on pages and comments, but i dont think thats the way to do it, shouldnt be that involved.

Taylor Bernard on August 25, 2015:

media folder hardlinks the images in.
theres a few plugins that cut off the front part, but that dont cut it off to the particular theme folder, just wp-content level


looks like this is as deep as i can append by using ./?

./wp-content/themes/webb/img/projects_bg.jpg

Justin Bernard on August 25, 2015:

That path works? If it does, by all means update to that, it's fine

Justin Bernard on August 25, 2015:

did that work?  done? what doing now?

Justin Bernard on August 25, 2015:

double check why the hamburger nav icon is disapparing on resize

i think i have some img switching code going on in main.js that toggles a few images for rollover/etc of that icon

Taylor Bernard on August 25, 2015:

yeh path works. i put it in place

Justin Bernard on August 25, 2015:


i just checked, in js i'm swapping between a bunch of images on resize/over states/nav active/inactive/etc

i'm using ./img/icon name

need to figure out how to update that js path to be relative and work

Taylor Bernard on August 25, 2015:

tried about every form of ../ ././ i could think of to no avail in the .js file.

this is working though.

'url(./wp-content/themes/webb/img/header_nav_icon_mobile@2x.png)');

do you know of any way to figure out more shorthand than that?

Justin Bernard on August 25, 2015:

thats more than fine, go ahead an implement on all js accourences.  do a search for png, make sure catch them all, they turn on/off at lots of diff weird cases