lberelson
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Remove date path from posts and uploadsAhhh… so viewing that link in my browser is the same as going to the network settings dashboard as explained earlier. However now I understand that you’re suggesting making these adjustments PER site. OK. I’ll try this. https://snag.gy/7o3tL.jpg
Thanks.Forum: Networking WordPress
In reply to: Remove date path from posts and uploadsI found the file: yourdomain.com/wp-admin/network/sites.php but no ref to the code mentioned above. Also went to network settings from the dashboard but no luck there. Nice disclaimer tho ??
Forum: Themes and Templates
In reply to: Esc attributeI think the problem with the title not displaying is b/c i do not know how to employ this within the code… https://codex.www.ads-software.com/Function_Reference/esc_attr. Or it may be another syntax problem. I don’t know how to incorporate proper html markup inside php code; if that is in fact the issue. It could be css… here’s the markup for the links on h tags.
h1,h2,h3,h4,h5,h6 { font-family: Verdana, Trebuchet, sans-serif; margin: 3px 0 0 0; padding: 3px 0 0 0; } h1 { font-size: 1.7em !important; color: #1c94c4; font-weight: bold; } h1 a, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active { text-decoration: none; } h2 { font-size: 1.5em; color: #dba303; /*yelloworange*/ font-weight: bold; } h2 a, h2 a:link, h2 a:visited, h2 a:hover, h2 a:active { text-decoration: none; } h3 { font-size: 1.5em; color: #90be4d; /*green*/ font-weight: bold; } h3 a, h3 a:link, h3 a:visited, h3 a:hover, h2 a:active { text-decoration: none; } h4 { font-size: 1.5em; color: #db7d03; /*orange*/ font-weight: bold; } h4 a, h4 a:link, h4 a:visited, h4 a:hover, h4 a:active { text-decoration: none; }
Forum: Networking WordPress
In reply to: Peformance problems on multisite since upgradeWhen I checked same site on other networks, it worked a little better. It might be a network issue which would be a relief! The style link <link href=”<?php bloginfo(‘stylesheet_url’); ?>” rel=”stylesheet” type=”text/css”/> does update the latest style. So even tho the theme lives in https://domain/wp-content/themes/custom3, the link which is adding the theme location https://domain/SITE3/wp-content/themes/custom3 is updating the style. It must be a css issue. Thanks ipstenu.
Forum: Networking WordPress
In reply to: Stylesheet call troublesCool. However when I update the style.css to the themes url (which to my knowledge, did not used to include the site name) the stylesheet does not get updated.
i.e. I used to be able to update here to revise the theme used:
https://howlingwolfmedia.com/wp-content/themes/custom3/style.css
Now when i update that file, nothing change unless i hard code the stylesheet as the link above. So it has to do with the stylesheet using the /site3/ when it’s called.
This is a custom theme… not a child theme.I must be missing something. I don’t remember an issue b4 upgrade. Not sure if it’s related to install upgrade to 3.8 or not.
Forum: Fixing WordPress
In reply to: Stylesheet call troublesOK. Reposted here
https://www.ads-software.com/support/topic/stylesheet-call-troubles-1?replies=1#post-5087612 Closing thisForum: Fixing WordPress
In reply to: Stylesheet call troublesYes it is.
Forum: Fixing WordPress
In reply to: How to check which version of WordPress is installed?Perfect explanation. I forgot where it was not having touched it in a while. Thanks.
Forum: Fixing WordPress
In reply to: Conditional display from hyperlinkNeed to review usage of single posts, template parts and looping. Currently I’m only using the main loop from index and it’s not filtering for a single post. Closing out.
Forum: Themes and Templates
In reply to: enqueue jQuery Accordion scriptsux.js has modest modification to the doc model. EIther way the syntax (or something else i’m doing is wrong) and not working. I know the scripts are fine b/c they work hardcoded. So it’s how i’m implementing enqueue.
I thought if i put it in a function file it would get called before the header and work which from what i saw on some posts was the problem. As is written scripts just arent’ being called… am i supposed to implement this somewhere else… template itself just uses div accordion which works when hardcoded.Forum: Fixing WordPress
In reply to: unable to link analyticsThere’s a settings in the analytics to check if the track code is working and it often takes a bit of time. It’s normal. You can post this issue as resolved (just a suggestion).
Forum: Themes and Templates
In reply to: jQuery Accordion using categories and child cat titlesUsed codex version for registering Ended up using hard coded scripts downloaded to theme. Still working on replacing with wp_enqueue_scripts.
#2 resolved: I was instructed that if i add to stylesheet, the active content will auto expand to length of contents per loop.
.ui-accordion-content-active { height: auto !important; }Forum: Themes and Templates
In reply to: wp nav menu parametersI ‘ahem’ think i neglected to actually reorder them within the dashboard widget. That is what i believe was the issue. Thanks @esmi for your reply.
Forum: Themes and Templates
In reply to: Conditional needed when post array is emptyfound solution https://stackoverflow.com/questions/13332128/if-category-empty-return-a-message
if (!$myposts) { echo 'Sorry there are currently no classes in this category.'; } else {