Code Monkey home page Code Monkey logo

a-ses's Introduction

Hi!

What does Aram do?

Aram Zucker-Scharff (he/him) is the Senior Staff Engineer for Privacy & Security Compliance at The Washington Post. He previously worked on the Zeus team, helping publishers to maximize site performance and revenue. He has also worked on The Washington Post’s Ad Tech R&D and Big Data teams. Aram has developed open-source tools for publishers and consulted on content strategy and digital newsroom workflows. He was one of Folio Magazine’s 15 under 30 in the magazine media industry.

Read more about who I am and how to pronounce my name

Where is Aram?

Mostly New York City, but you can also find him online at these places:

LinkedIn | Twitter | Mastodon | BlueSky

Other Places to Find Aram

Blog | Developer's Notebook | Digital Garden

a-ses's People

Contributors

aramzs avatar boywondercreative avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

alexriabtsev

a-ses's Issues

chmod script and run it from shell

I tried working this out on my own, but I'm stuck.

When activating Shoestrap, I get an error message:

"The following file is not writable and must be so in order to utilise this theme. Please update the permissions.
/opt/bitnami/apps/wordpress/htdocs/wp-content/themes/shoestrap-3/assets/css/style.css"

The error is thrown because "Shoestrap has a built in LESS compiler. As such, it requires write permissions. If your PHP user or apache user are mismatched the theme will inform you that files are not writeable."

Suggested fix: The easiest solution is to modify and run the following script:
https://github.com/shoestrap/shoestrap/wiki/Permissions

Questions:

  1. How do I run script from shell
  2. How do I chmod this script to 0777

Rollback on Shoestrap

Slept on this. Makes more sense to rollback to stable version of Shoestrap 3.1.0.2, and cease updates. SS 3.2.3, which breaks the site is a step towards supporting multiple frameworks (Bootstrap/Foundation), and actions/filters/hooks have been modified/deprecated in preparation.

No need to upgrade up because we don't need the added stuff, and none of the updates address/effect core functionality (LESS compiling/dynamic stylesheet generation).

Working out the details.

ob_start

So I'm stuck on one last thing.

I need to add a body_class based on whether the primary_nav_meanu has children or not. I need this to hide toggle nav on pages that don't have any children. (no sub pages, no need to toggle the side nav right).

Anyways, i came across a solution that works fine on local, but crashes he live site:
http://wordpress.stackexchange.com/questions/114102/update-body-class-based-on-menu/138207#138207

Specifically, the function breaks when calling:
add_filter(
'body_class',
function($classes) {
$classes[] = 'has-submenu'; // or 'is-submenu'
return $classes;
}
);

Any thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.