Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi, Please see: https://techgardens.com/product-category/mrv  the customer wants me to change the wording on the button from Product Enquiry to Product Inquiry. I'm using plugin WooCommerce Email Inquiry & Cart Options LITE.

There doesn't seem to be a place in the settings to change that, but there must be some javascript somewhere?
0
Receive 1:1 tech help
LVL 11
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Hi, I manage a WordPress website for a local motorcycle dealer and he'd like to integrate with iVendi's finance calculator widget.

All the calculator needs is a line of Javascript in order to generate the widget, with 3-4 fields pre-populated (e.g. URL, username, registration, mileage, value).

The widget works great when you manually paste the code in but I just wondered if it was possible to pre-populate the script based on the listings from the motorcycle's WooCommerce listing.

Below is an example of a sample script that works:

<script src="https://newvehicle.com/widgets/lib/finance-comparator/loader.js?username=www.motorcycledealerurl.co.uk&quoteeUid=UNIQUE-ID-STATIC-VALUE&class=Bike&condition=Used&vrm=AE60HDD&registrationDate=01/11/2010&capCode=&capId=&cashPrice=5295&vatIncluded=&currentOdometerReading=25897&vehicleImageUrl=http://www.motorcycledealerurl.co.uk/wp-content/uploads/2017/12/IMGP8321.jpg&cashDepositType=&cashDeposit=500&term=36&annualDistance=10000&dateOnForecourt=" async></script>

Open in new window



I need to have the following fields populated from the WooCommerce listing:

vrm
registrationDate
cashPrice
currentOdometerReading

...ideally these need to be pre-populated for each motorcycle as opposed to manually typing these into the script each time...is this possible?

Thanks in advance!
0
Hi all from my first post / question. I want to create a full-width band in a page of my web site. But I couldn't achieve it at all. My website runs Wordpress and I think main div on the page doesn't let a div to stretch to be full-width. Screenshot : https://i.snag.gy/iJU61t.jpg

Page url
0
 
LVL 12

Administrative Comment

by:Andrew Leniart
Hi Ali,

What you've done here is made a "Post".  

The Post function is designed to share information with the Experts Exchange community.

To get help for problems from our Experts, please use the Ask a Question button at the top of your page.

Ask a Question

Hope that's helpful.

Andrew
EE Topic Advisor
0
 

Author Comment

by:Ali Ali
Got it, sorry. I'll pay attention to it for next time. Thanks for notice.
0
I have a wordpress site running on AWS EC2 Ubuntu. I don't know how to technically describe this but here it goes:
I need a page URL that when you go to the URL it will Automatically allow someone to download a CSV file after HTTP Authentication.

I have seen and tried tutorials for setting up a HTTP Authentication for my Admin Sign in page. But I can't find any help on setting up a single page.  I am also up to suggestions on how to setup this HTTP Authentication on AWS S3 Bucket. I hope this makes sense. Thank you for the help.
0
I have a parent and child theme.
index.php is only present in the parent theme but whatever changes I make to it are ignored when I visit the website.
I realise changes should be made to an overload version of index.php in the child theme but this is just for testing purposes to work out why it doesn't appear to get looked at. I've even made the code in the index.php invalid by removing a few php tags but it has no effect whatsever. I would at least expect the website to break - but it doesn't.
0
After a security review of our new WordPress site it was pointed out that we're vulnerable to "External Service Redirecton - DNS". Specifically, if a URL is entered into the "Your Name" field of our Contact 7 Form then the testers have found that: "It was possible to induce the application to perform server-side DNS lookups of arbitrary domain names"

The suggested remedial action is to implement a whitelist of permitted services and hosts and to block interaction not on this whitelist.

I'm something of a newbie when it comes to this, and it occured to me (perhaps wrongly!) that there may be different whitelists; one for those who cannot enter the site, and a separate for sites to which our server is allowed to speak. Or does a whitelist imply both ways?

Anyway, all help on this gratefully received and I'm imagining this is something that's been done a zillion times before!

I'm using IIS and would prefer that answer, although Apache related help just as good because I've realised I can kind of 'translate' how to do it once I've got the idea.

Incidentally, we definitely want to avoid editing the Contact 7 form's code too much becasue this may be lost when we upgrade, even though I dare say this would fix the issue. Unfortunately the latest version has the same problem, although will let the Contact 7 team know to look into this. Would ideally like to use another form for data collection of this sort although i'm a part of a team that prevents this!

And so, in …
0
Hello,

I'm getting this error when instilling the wordpress theme Bridge:

Parse error: syntax error, unexpected T_STRING in .../public_html/honestoakseo/wp-content/themes/bridge/framework/modules/woocommerce/woocommerce-functions.php on line 124

What do I do?
0
I'm curious about how I might emulate what's currently going on with the Zillow homepage, .. where clicking on the different tabs both changes the background image, and also changes the appearance and behavior of the search form.

https://www.zillow.com/

I'd like to try to implement something similar on a WordPress site, most likely using JQuery (though I'm not averse to using vanilla JavaScript). Does anyone here have any tips or some "quick start" code examples they could share with me?

By the way  .. it's not necessary that I change the page url when I click on the different tabs.  I'm just looking to modify the DOM.

Thanks,
- Yvan
0
my site: https://jessechong.net

I'm wanting to set things up on the front page to be able to write a post and trigger that to populate the Conversation post/page with the post. Is there a plugin or setup I can use to accomplish this? I've tried making it the featured post but can't seem to get it to take as I want it to.
0
I am using a Kallyas WordPress theme and I edit my pages with Zion Builder. My English version of the website is almost done, but now I want to create an Arabic version of it. I tried to used plugins, such as Polylang, but then all of my contents disappeared.

What is the best way to add a new language to my website given the facts above?

Thank you.
0
Free Tool: Path Explorer
LVL 11
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

I need some help with a custom XML feed i need to work.

I need the feed below to only pull jobs which are tagged "careerbuilder". and then only show 120 of those posts.

At the moment, I have zero posts tagged with "careerbuilder" but it's still pulling 120 other posts.  How can i fix the code below, so that only posts tagged careerbuiler show up?.   the xml feed is found here

<?php
/**
 * Template Name: Custom CareerBuilder RSS Template - cretefeed
 */
 
$postCount = 120; // The number of posts to show in the feed
$posts = query_posts('showposts=' . $postCount, 'tag=careerbuilder');
header('Content-Type: '.feed_content_type('rss-http').'; charset='.get_option('blog_charset'), true);
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
?>
<rss version="2.0"
        xmlns:content="http://purl.org/rss/1.0/modules/content/"
        xmlns:wfw="http://wellformedweb.org/CommentAPI/"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:atom="http://www.w3.org/2005/Atom"
        xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
        xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
        <?php do_action('rss2_ns'); ?>>
<channel>
        <title><?php bloginfo_rss('name'); ?> - Feed</title>
        <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
        <link><?php get_permalink(); ?></link>
        <description><?php 

Open in new window

0
Hello experts
I m new user of  Wordpress and php with experience in coldfusion server language.
I m asking if there is a code to redirect to the home page using the homeurl as a variable.
(i wand to use this in index.php files inside subfolders for security reasons)
I have the following code:
<?php header('Location: https://mysitedomainname.com');  
i need the https://mysitedomainname.com to be a variable

Any help?
0
Hi
I have a question on the best way to setup my products in Woocommerce.

My products are all individual Digital Prints which can be sold under the following Categories:

1. Canvas Prints (Framed or Not Framed)
2. Tea Towels (1 Size)
3. Cushions (1 Size)
4. Stationery/Cards (1 Size)
5. Art Bags (1 Size)

Obviously I don’t want to have to duplicate and reconfigure the Product 5 times to attached it to each Category as individual products.

1. How can I create one product with the options that I need for each of these 5 Product Types?
2. Should I use Grouped Products or a Plugin like “WooCommerce Extra Product Options”?

Any help would be gratefully appreciated.
0
I have a website which is on process of being built with Wordpress.
I need to upload panoramic photos taken with mobile. So far the plugin that I found aren't good enough. The only solution which suites my need so far is the one implemented of Facebook.

Can anyone suggest a plugin or a solution for uploading panoramic photos and obtain the same effect is obtained with Facebook?

Thanks for any contribution.
0
My site: https://jessechong.net isn't working as it should in safari on an iphone. Works on my droid. works on an ipad with safari...works fine within chrome, IE and firefox.

Does anyone have any ideas on how to fix this? is it an iphone os or setting issue? is a worpdress issue? is there a plugin to use to help fix this? help please!
0
I've got a jQuery toggle on this page:

http://sandbox.intrepidrealist.com/cazoozsb/test-page/

I'm not sure what's causing it to be dead in the water. It works in the example:

https://codepen.io/derekjp/pen/pPqwXJ
0
I know of two services that allows you to automatically assign a user license key for software downloads after customers make a purchase.  Easy Digital Downloads and Crypto licensing.  I'm asking if you know of any others that you would recommend for Wordpress preferably or regular html type website, Thank You
0
Hi

We need to redirect URLs to a specific landing page on our Wordpress V4.9.1 website. The URLs look something like this:

We want to ignore the long hex part & the ASPX page, ie we want to send all of these types of URLs to the one page. Anything that starts with http://server/t/ needs to go to the landing page irrespective of the following text (ie 118H-5DFFT-56GV4L-2Y68M2-1/c.aspx)

We don't want to display an error page just because the server can't find the sub-folder called "239H-5DFGT-56GZ4L-2Y69M2-1".

Is this possible?
0
Hi,
When you look at this siten
http://amandawatson,com.au you can see that the html code is showing, instead of content only
I am using Visual Composer, has anyone had an experience like this?
0
Get expert help—faster!
LVL 11
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

How do I create a Pop-up menu for login/create login like "experts-exchange.com" or "wish.com" for my woo commerce site
0
I have a Betheme installed with a child Betheme.  It is broken.  

A new theme was purchased with the child theme.   The old one and the new one have the same name.

Can I upload both to the wordpress dashboard?  Do I rename either the old one or new one?  

Can I have under Appearance>Themes

BeTheme BeThemeChild BeTheme BeTheme Child

or Should it be something else like

Be Theme BeTheme Child  or BeTheme-New BeTheme Child-New

The old Betheme was purchase on someone else's account so limited  with the theme.

That's why a new theme was purhased.  

What is the best way to change to the new theme which is the same theme.

Hopefully you understand.

Thanks
0
Problem: wp_remote_get/wp_remote_request of a specific https target fails to return a response unless ran via WP_CLI function.

$wp_remote_args => array(
    'timeout' => 5,
    'sslverify' => true,
    'blocking' => true,
    'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0',
    'headers' => array(
        'Accept' => 'application/json, text/plain, */*',
        'Accept-Encoding' => 'gzip, deflate, br',
        'Accept-Language' => 'en-US,en;q=0.5',
        'Authorization' => '...',
        'Connection' => 'keep-alive',
        'Content-Type' => 'application/json; charset=UTF-8; text/plain',
        'Host' => '...',
        'Origin' => '...',
        'Referer' => '...',
    ),
)
wp_remote_request($url, $wp_remote_args)

Open in new window


I can only assume that something is perceived differently from the remote server when the GET request is received from standard PHP processing vs WP_CLI. Other wp_remote_request/cURL URLs are sent and received without issue.
0
I am using a new wordpress template called Smartline Lite by ThemeZee for this site:
http://plymouthpubliclibrary.net/

Does anyone know how to modify so that the brackets that appear on posts on the home page have more than [...]

I would like it to say something like [ read more]    I checked everyone and could not find how to modify this setting.
Here is a screenshot:

https://screencast.com/t/Qa7HfFZVW
0
How do I update 4 fields in my sql by one year

EventStartDate      2017-01-08 00:00:00  to  2018-01-08 00:00:00  for example

I need to do a bulk update to a load of records on my wordpress website and increment the dates by 1 year for an existing category. is there a quick way of doing this once I've sorted out the joins?

Full Texts      meta_id      post_id      meta_key      meta_value
      Edit      Delete      31415      4265      _tribe_modified_fields      a:34:{s:8:"post_tag";i:1498896141;s:12:"_EventOrig...
      Edit      Delete      31416      4265      _EventOrigin      event-aggregator
      Edit      Delete      31417      4265      _EventShowMapLink       
      Edit      Delete      31418      4265      _EventShowMap       
      Edit      Delete      31419      4265      _EventAllDay      yes
      Edit      Delete      31420      4265      _EventStartDate      2017-01-08 00:00:00
      Edit      Delete      31421      4265      _EventEndDate      2017-01-08 23:59:59
      Edit      Delete      31422      4265      _EventStartDateUTC      2017-01-08 00:00:00
      Edit      Delete      31423      4265      _EventEndDateUTC      2017-01-08 23:59:59
      
      update `wp_t0jnpbhfm3_postmeta`
      set meta_value = DATE_ADD('_EventStartDate', INTERVAL 1 YEAR)
      where meta_value ='_EventStartDate' and post_id=4265
      
      
      
      SELECT *
FROM  `wp_t0jnpbhfm3_postmeta`
WHERE post_id =4265



select 'meta_value' = DATE_ADD('meta_value', INTERVAL 1 YEAR)
FROM  `wp_t0jnpbhfm3_postmeta`
where meta_key ='_EventStartDate' and post_id=4265
0
On this page:
https://www.thearenagym.com/schedule/

There should be a list of class showing below the days tabs and change when you click on each day. If you view source, the classes are actually there in the code. I don't know when it stopped working as I've only just started working with the site. There haven't been any recent changes that affect that page.

This issue seems to be in this code? But nothing I've tried makes it work again. It looks to me that wordpress is including all the correct .js files needed, but am I missing something?
<script type="text/javascript">
// perform JavaScript after the document is scriptable.
$(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.schedule-content > div.pane",{
		effect: 'default',
		initialIndex: <?php echo $initial?>
	});
});

$(document).ready(function(){
	$.tablesorter.addParser({ 
        // set a unique id 
        id: 'days', 
        is: function(s) { 
            // return false so this parser is not auto detected 
            return false; 
        }, 
        format: function(s) { 
            // format your data for normalization 
            return s.toLowerCase().replace(/monday/,1).replace(/tuesday/,2).replace(/wednesday/,3).replace(/thursday/,4).replace(/friday/,5).replace(/saturday/,6).replace(/sunday/,7); 
        }, 
        // set type, either numeric or text 
        type: 'numeric' 
    }); 
        $(".day 

Open in new window

0

WordPress

WordPress is a free and open-source content management system (CMS) based on PHP and MySQL for creating websites and blogs. Features include a plugin architecture, a template system and strong management, customization and search systems; through its dynamic presentation of content, webmasters have the flexibility to create websites easily.