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

I have over 2,000 images in a Woo Commerce installation.  I need to know where the image dimensions are stored on the Maria db for the single product image or main image that Woo Commerce uses for each product and how to retrieve the list of them.

I plan to replace all of the images that aren't at least 300x300.  Because on the cart they are showing up blurry.

Doing it through the db will be much quicker than going through each product on the cart.

Thanks,
0
Cloud Class® Course: Microsoft Office 2010
LVL 12
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

This is a follow-on to the question.  
https://www.experts-exchange.com/questions/29109489/Need-Woocommerce-Category-Sorted-by-Description-Within-Product.html

Open in new window


The plugin works great for the sale category but it seems to be making all of the categories behave in the same manner.  Is it possible, to just specify in the plugin to use its logic just for the sale category?
0
Dear Experts,

I am creating a web portal using Wordpress, and would like to launch RingCentral soft phone app from one of the pages, so that the soft phone can appear almost as a modal child window of my website, but not sure how to accomplish this.  Is this  something I need RingCentral's AP to do?  All I want to do is almost Run command from the Windows.
Please advise.
0
I am on an AWS instance running Linux 2.  I log in to the server via ssh as ec2-user and then sudo -i.  When I try to upload as ec2-user I keep getting permissions denied errors from WinSCP 5.  All of the wordpress files are apache:apache.  I added in ec2-user to the group apache and to the group root.  However, I keep getting the same error it is denied.  I then changed the directory for plugins which is /data/web/abc.com/wp-content/plugins to 777 but still got the same error.

I know that I can change everything upstream to 777 but I don't want to do that.  It seems to me that WinScp is supposed to have an sudo command but the default which I have tried to use isn't what I use on my server.  Once I login via ssh I use sudo -i and then I have root privileges and can do anything.

Please show me how to change the default sudo command in WinSCP to sudo -i? Or, is there another way to upload the files?  If I need to switch to FileZilla I am open to that to if it will permit me to upload to my site.
0
Trying to embed a gif from giphy into a WordPress blog post. This is the iFrame embed code:
<div style="width:100%;height:0;padding-bottom:57%;position:relative;"><iframe src="https://giphy.com/embed/x5cF4iGNh0QA8" width="100%" height="100%" style="position:absolute" frameBorder="0" class="giphy-embed" allowFullScreen></iframe></div><p><a href="https://giphy.com/gifs/x5cF4iGNh0QA8">via GIPHY</a></p>

Whenever I add it to the draft and preview the blog post, it shows up as the code, not as the gif.

Also tried downloading the gif, but on giphy I can only download it as an HTML file that won't upload to WordPress, or an MP4 file and the progress bar of that diminishes the effect of the animation.

Attached photo shows the screen shot preview of the code and the MP4 file.
Capture.PNG
0
Trying to set up word press on Server 2012. Server is non domain joined, no GPO, no static IP, no AV or threat protection of any kind, No Windows firewall. Brand new VM, behind company firewall. I download windows web platform installer (both 4.6 and 5.0 and get the following:

Capture.PNG
0
I want to change contact form 7 date field format to MM/DD/YYYY on frontend for the user. I tried various options but didn't a solution for it.
0
Hi there. On these pages over mobile I need to center the secondary hamburger menu tabs... https://ccdenver.org/newsroom/

Same is true on these Newsroom subpages...

https://ccdenver.org/media-center/
https://ccdenver.org/pressroom/

And also make the social media icons all on one line over mobile.

Any ideas experts?
0
This is a follow on to this question - https://www.experts-exchange.com/questions/29107724/Need-Category-Sorted-By-Product-Not-First-Letter.html#acceptAnswerByMember

Need to have category page sorted by product and within by description.  Putting $off, %off, buy x.  With the x amount being in an ascending sequence.

For example, Buy 4 then Buy 5 then Buy 9 etc.
0
I need to upload a Wordpress theme and I am getting the message that I am exceeding the max_filesize.  I have change php.in, restarted Apache and still I get the same error.

These are the settings I have changed:

upload_max_filesize=122M
post_max_size=168M
memory_limit=512M
file_uploads = On
max_execution_time=290

Open in new window


Please tell me what to fix.

Thanks,

Randal
0
Cloud Class® Course: SQL Server Core 2016
LVL 12
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Hello, I have inherited a Wordpress website made by someone else. I'm more of a web designer, where my predecessor was most of a coder I guess.
Anyway, the guy is totally off the grid, so I thought I'd ask here.

There is a singular page causing an error, based on a particular template. There is a different template for every page and the only one not working is this one.

You can see the error on this test website (don't mind the missing images or anything else, just the php):

www.example.com [redacted original source]

So, the fatal error is:
 Parse error: syntax error, unexpected 'endwhile' (T_ENDWHILE) in /var/www/html/test.ilgufoblu/medusahotel/wp-content/themes/in4theme/page-personale.php on line 52

Open in new window


I can't understand how this can happen, since other templates have the very same structure and end with an endwhile too. The templates load header.php before anything else, then they have their own code, then they end like this.

This is the template giving the error:
<?php
/**
 * Template Name: Lista Personale
 * 
 * Personale
 *
 * @subpackage Template
 */
global $Site;
get_header();
?>
<div id="main" class="container" role="main">

    <section id="main-content" class="list-personale">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

            <div class="hero-head padded">
                <h2><?php the_title(); ?></h2>
                <?php echo get_field('descrizione') ?>
            </div>

            <div 

Open in new window

0
I am looking for a wordpress plugin or general solution that can take posts, display them as a grid (showing first image as the thumbnail, with title below), and has an accordion style collapsible comments section beneath that can be scrolled.

The closest solution I can get to at the moment is something similar to the below:


Ultimately want this with an accordion to peruse comments - any suggestions will be appreciated - this is currently built using Post Grid plugin.
0
To activate some paid themes or plugins for websites (cms), buyers need a code. Otherwise the addons are not activated. I'm interested by this functionnality, but i have no idea where to start. Can someone point me in the right direction ? I have some addons and also websites for demo purpose, but i need to protect them. This kind of addons i'm talking about, need a code only once. Then the addon/website or whatever is accessible for everyone.
 I'm using php/css/html/javascript. The passcode/key protection i'm looking for is used by plugins and graphic themes sellers. To ensure the buyer has paid the addon and/or don't use it more than once. The target cms are wordpress, joomla, magento ...
Thank you.
X. Lin
0
I've purchased a Wordpress plugin from a developer "Sprout Invoices".  The plugin features are supposed to integrate with WooCommerce by:

1.  Pulling in WooCommece products on the "Add Invoice" page to add to an invoice via line item.
2.  Allow the customer to view the invoice and checkout via WooCommerce.  However, I get this error in the WooCommerce Shopping Cart:
Sorry, this product cannot be purchased.


I've notified the developer in hopes for some solutions.  I was told my products must have some "restrictions" on them and that the cart error was a WooCommerce issue, not his plugin.  I know better than this, but I really just want the plugin to WORK properly.  I'm guessing they haven't updated it since the last WooCommerce update.

I've created a fresh new install of Wordpress in a new folder and installed WooCommerce and the Sprout Invoice plugin. The same issues are present.  Is there something I can check or is anyone willing to take a look for me...possibly look at the code/plugin?

Ty
0
I have a curl error 77
Update Failed: Download failed. cURL error 77: error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none

Open in new window

whenever I try to update my plugins in wordpress.

The site is www.thefrugallife.com

I have an Apache 2.4 instance running Linux 2 from Amazon.

I have recently moved the site and switched it to https.  My site certificate is showing it gets a B on SSL Labs using ipv4.

I can't update anything on the site till this error goes away.  Please let me know how to get rid of that error.

Thanks,
0
I am new to WordPress and using w3 total cache for serving resources from cdn, however, when analyzed using gtmetrix it shows the below error and I have no idea which setting might be causing this..
There are two links to the same content that is one with CDN and the other. The site that is analyzed is: https://www.quotemykaam.com/services/
If you need any more information you can comment and I will share the same. Thank You
0
I need some help with the below code.  I have a custom XML feed. Originally the feed was showing the contents of <drivertype> as a html link.  So got the code below to strip out the the hyperlink.

A problem i'm noticing now though, is <drivertype> can in a few instances have 2 values (i.e Comapny and Team).  When they show up in the feed they are being displayed like this :

<drivertype>
<![CDATA[
Company<a href="https://cretecarrier.com/?taxonomy=job_listing_category&#038;term=team" rel="tag">Team
]]>
</drivertype>

Open in new window


how could i modify the below code, so that if the contents has 2 values, it will display like Comapny, Team. Or something similar, just so it's it's not broken. <ul><li>Company</li>li>Team</li></ul>


link to the feed
<?php
	$mystr=get_the_term_list( $post->ID, 'job_listing_category');
	$temp=strpos($mystr,">");
	$drivertype=str_replace("</a>","",substr($mystr,$temp+1));
?>
    <drivertype><![CDATA[<?php echo $drivertype; ?>]]></drivertype>

Open in new window

0
I need to get into a test server that that has woocommerce on it.  Originally it had an ssl cert but now it doesn't.  I keep getting this error in Firefox 61.

https://gyazo.com/3b19eaf25cdab4273cfe1432217cce3a

I have tried this in other browsers too and get a similar result.  I have access to the db and I have removed the https from the site url and the home link.  I have deleted the cookies corresponding to the url I am using to access the dashboard.

Searching wp_options for ssl I get these rows - https://gyazo.com/7abe7622428cf1c648f5bab0a4d4773f

I did use Really Simple SSL as a plugin but don't know how to turn if off with access to the dashboard.

I just need to get into the dashboard and check some settings.  Can anyone help me get into my dashboard?
0
I need to center the language dropdown field in the footer over mobile on this site https://ccdenver.org/ but it's not working. Any ideas?
0
Cloud Class® Course: C++ 11 Fundamentals
LVL 12
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

web applications vs. custom desktop software.  These are the two scenarios that I am posed with in designing an attendance/registration system for our organization.  Are there disadvantages to web application vs. a desktop software.  I imagine there is more power in the coding aspect of most programs compared to web application development.  I know its an abstract question, but I wanted to see what the experts have to say on this subject.   Is there really no difference?  The application I will need to design will register individuals, take their daily attendance, and then output statistics.  Also any ideas on how to best develop such a program may be appreciate.
0
Hi,
I have wordpress site that we use to sent out emails to users about different stuffs, information etc..
Users instead of logging in and replying on the sites, replies directly from the mail server.
How can I set it up such that once the first email is sent, the email conversation between user and admins can happen on the email itself but the messages get recorded in the database with the appropriate reference /tags.
0
I'm trying to get the name of my custom taxonomy to display inside my RSS feed.


I've managed to display it, but it displays it as a hyperlink, i just want to output the name and that's it.

This is what is displaying
<drivertype>
<![CDATA[
<a href="http://cretecarrier-070618.local/blog/fleet-type/dedicated/" rel="tag">Dedicated</a>
]]>
</drivertype>

Open in new window


This is the code im using
<drivertype><![CDATA[<?php echo get_the_term_list( $post->ID, 'fleet_type') ?>]]></drivertype>

Open in new window


Just want it to display, "Dedicated" or "Regional" or "OTR".
0
I'm trying to get an xml feed to work.  The following code below works, but is pulling in normal posts.  I want to only pull a custom post type called "job_listings'. How would i modify this script, so it will only pull "job_listings" ?

<?php
/**
 * Template Name: Custom AllTruckJobs RSS Template - cretefeed
 */
 
$limitCount = 7; // The posts limit to show
$posts = query_posts('showposts=' . $limitCount);


// Setting up content type and charset headers 
header('Content-Type: '.feed_content_type('rss-http').';charset='.get_option('blog_charset'), true);

// Setting up valid XML encoding
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
?> 

<!-- Declaring XML Validators namespaces -->
<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'); ?>>
<!-- Declaring channel with articles data --> 
<?php $dateTimeFormat = 'D, M d Y H:i:s'; ?>
<channel>
        <title><?php bloginfo_rss('name'); ?> - Feed</title>
        <link><?php bloginfo_rss('url') ?></link>
        <description><?php bloginfo_rss('description') ?></description>
        <lastBuildDate><?php echo mysql2date($dateTimeFormat, 

Open in new window

0
Hi
I like the dark net being a philosophy of specialized software to access secret functionality. My friends and I need a private document editing environment

Are most Darknet sites done in Wordpress, with secret logins? I read it's specialized software.
If the hegemon wanted to access my site, would they just use brute force?
If I make my own software, I can do multiple access attempts lockdowns. Can Wordpress restrict multiple access?
Would a PHP site fulfill this specialized software need?
We just need a login page that goes to a document editing/comment system. where I can give my friends unique login info for. It is for a project development colab
Ideas? Thanks
0
Hi,

I transfered a WordPress website from one provider to another using a backup/restore plugin.

Everything is working except some dropdown list buttons.

I checked the console and found some errors
Error.png
I am new to wordpress. any suggestions would be helpful
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.