CSS Styling for a Page/ Site made with Pagelines

The primary stylesheet for a theme is usually /wp-content/themes/themename/style.css. That would be the first place to look. That file has to exist, but may be mostly empty and other stylesheets can be loaded by both theme and plugin. Some themes have very complicated stylesheet structures. The easiest way to find the stylesheets is with a … Read more

WP Custom Permalink Filter

strlen(”) in substr_replace will always evaluate to 0, which doesn’t replace anything. It just inserts the new url at $pos. You could use this: function modify_attachment_link( $markup, $id ) { $pos = strpos( $markup, ‘href’ ) + 6; $remainstring = substr( $markup, $pos ); $pos2 = strpos( $remainstring, “‘” ); $url = substr( $remainstring, 0, … Read more