edwardsmark
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: custom tag attributes in the bannerdarn – i was hoping for a completely seamless solution. updating a child theme when the parent theme updates is too easy to overlook.
but then again, maybe most themes don’t update that often, if at all?
BRAIN-FLASH maybe something like:
jQuery('header.site-header').attr('usemap', 'markysMap') ;
that might work – got the idea from w3resource and from jquery attr
UPDATE: it seems to work OK.
this was what i now see in the header:
<header id="masthead" class="site-header" role="banner" usemap="markysMap">
this was done using ad-inserter, the only code-injection plugin i have found that actually works.
- This reply was modified 8 years, 2 months ago by edwardsmark.
- This reply was modified 8 years, 2 months ago by edwardsmark.
- This reply was modified 8 years, 2 months ago by edwardsmark.
- This reply was modified 8 years, 2 months ago by edwardsmark.
Forum: Developing with WordPress
In reply to: custom tag attributes in the bannerthank you steve – what happens when the theme “upgrades”? are those changes lost?
if the parent-theme has a new
header.php
how is that handled?and thank you for your patience with us newbies.
Forum: Developing with WordPress
In reply to: custom tag attributes in the bannerin other words, suppose i had this in my theme header:
<img src='/path/to/banner/marksThemeHeader.png' />
i was thinking about some way to change it to something like:
<img src='/path/to/banner/marksThemeHeader.png' usemap='#marksMap' />
and then in the code insert something like
<map name='marksMap'> <area shape='rect' .... <area shape='circle' ... </map>
- This reply was modified 8 years, 2 months ago by edwardsmark.
Forum: Developing with WordPress
In reply to: custom tag attributes in the banneri was hoping on taking virtually ANY theme and add the “usemap” attribute to any header image.
then maybe i might use some code-injection plugin to include the actual map & area tags.
so that way, a theme could in theory be switched and the usemap/map/area could all remain constant (in theory anyways).
so maybe this would all be totally independent of the theme?
Forum: Fixing WordPress
In reply to: mirroring WP content on another WP siteok i have to give this one to Spencer. it appears that giving the post a unique category name, and doing the XML export-import is far superior.
and then maybe use command-line to extract the XML might be the best way to go.
Forum: Fixing WordPress
In reply to: mirroring WP content on another WP sitemysql –host=123.123.123.123 –username=mark –password=hello wordpressDB;
SELECT post_excerpt “NEW_CONTENT”
FROM wp_posts
WHERE post_title = “this is the original post”
AND post_status = ‘published’
;$newStuff = :NEW_CONTENT ; // pdo
mysql –host=localhost –user=spencer –password=forman nextWpDB;
UPDATE wp_posts
SET port_excerpt = :NEW_CONTENT
WHERE post_title = “this post is cloned from another website”
AND post_status = ‘published’
;Forum: Fixing WordPress
In reply to: mirroring WP content on another WP sitethanks spencer – i use mu-wp quite a bit and find it to be awesome. ManageWP looks interesting but i am looking for something free.
so, i am considering something like this now inside a php script:
mysql –host=123.123.123.123 –username=mark –password=hello wordpressDB;
SELECT post_excerpt “NEW CONTENT”
FROM wp_posts
WHERE post_title = “this is the original post”;mysql –host=localhost –user=spencer –password=forman nextWpDB;
UPDATE wp_posts
SET port_excerpt = “NEW CONTENT stuff from first command”
WHERE post_title = “this post is cloned from another website”;i added a new page, mysqldumped it, modified it, mysqldumped it again, and diffed the results.
Forum: Plugins
In reply to: [FancyBox for WordPress] fancybox SEOupdate – i have tried several plugins that supposedly address this sort of thing, but it appears that fancybox MUST have the jQuery statement first.
i found this too under misc tab:
Loads JavaScript at the end of the blog’s HTML (experimental) (default: off)
but this did not seem to do anything.
ok thank you. – i was hoping they did, or in the paid version at least.
PHP 5.4.16 (cli) (built: Aug 11 2016 21:24:59)
curl 7.29.0
i am not seeing any console.log errors, but i didnt look in the php error log.
hello – sorry but i did not see any reference to using this plugin in a multiuser environment unless i did not look in the correct place.
i saw references to PHP versions and curl versions, but since the plugin worked GREAT on the master domain, i assume everything installed correctly and it works fine, just not on the subdomains.
perhaps there is a setting i am missing?
Forum: Fixing WordPress
In reply to: paypal alternativehello again, and first off, THANK YOU for helping me!
we are running a pretty ordinary shopping cart. we have been using paypal for some time now, and i have been just copy/pasting the html stuff from the PP website right into our pages.
recently i started using angel-eye->PP that that seemed pretty nice too.
however, paypal is showing its age, and i cant help but think there is something better out there, hence my questions.
Stripe seems to be a bit of a favorite. i will have a look, but as always, any other recommendations are most appreciated.
UPDATE: ok this looks very cool (the php features)
https://stripe.com/us/features
UPDATE2: the “curl” one looks even more cool – as does the node one.
Forum: Fixing WordPress
In reply to: paypal alternativewell then maybe i should rephrase the question: can anybody recommend a paypal alternative?
Forum: Fixing WordPress
In reply to: paypal alternativei was just curious if there is one in particular that seems to be the best for WP.