[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

I'm trying to set up a project that is compromised of a few videos for a free online course. It basically has 2 requirements.

1) It needs to be embedded on a wordpress site (videos can stream from Vimeo, YouTube , etc).

2)We want to collect the email address (and possibly other basic info like name/organization too).

How would I do this with Wordpress or a plugin?

The user would also need to come back periodically, so I guess they would need a login too so they wouldn't have to resubmit their info each time.
0
I'm using a wordpress theme and would like to move the site title line up on the line with the logo and menu. Is there an easy way to do this?
0
Without logging onto wordpress
Can I use view source to determine wordpress version number?
0
wordpress website of new york city plumber

asked me if website is good

Isnt all wordpress the same because it is a content management system?

What should I look for that is broken?
Without logging in?

I cant find version number so I asked another question.
And new version number doesnt mean good.
I could do a "hello world" website with newest version
0
want to host a website only in new york city

I do not want customers from outside new york city

new york city plumbing
dont want to pay for outsiders to click

want website to load quick only in new york city
wordpress website
0
Why am I getting this error? I can't log into this site.

I've tried renaming the plugins folder and renaming parent and child theme. So, I don't think it's a plugin issue. I also upped PHP to 7 from 5.6, then back again. Keep getting this error.

http://000m8zt.wcomhost.com/wp-admin/

Thanks!
0
Hello,
I have a large logo that I’d like to use with the free wordpress theme wp real estate. It’s 640×108. I’d like it to be on the top left side of the page and then the menu on the next line with the menu on the right side of the page. How can I accomplish this?
0
How do I query the Woo Commerce product title looking for this string "- [Order Quantity" and change it to "[Order Quantity" which is merely removing the dash and space?
0
We are attempting to install an SSL certificate on a website which already has a sub-domain attached to it. So this is the picture:

The website has been installed on product.domain.com and we have an SSL certificate already installed on that domain URL. The Wordpress site is set to force SSL and it works fine. No problem. If someone types in https://product.domain.com the site comes up fine - all good. If someone types product.domain.com the site comes up perfectly with https://product.domain.com.

If someone types www.product.domain.com without the http or https,  the site works fine - it strips the www and reverts to https://product.domain.com so this is all OK.

However, if someone actually types the full thing - as https://www.product.domain.com the site does not strip the https:// or the www so the browser displays a security exception as if the site was not covered by an SSL certificate.

I've tried various configurations in the .htaccess file but nothing I do seems to work.

Any help with this sincerely appreciated.

Cheers
Chris
0
How yo update the product variations in cart page woocommerce. Based on the variations selected my price also need to be changed, can somebody help me to achieve this?
0
Need to come up with a potential solution regarding a WordPress-based website coupon generation.

The issue is that the coupons need to be generated from a spreadsheet of existing values. The coupon generation will be user-based and once they click the Generate Coupon button, they will have a code pulled from the database of existing coupons, to be used. However, the coupons are not usable on the website, but are a 3rd party e-commerce store coupons.

How can I achieve the generation based on the existing codes, and have the code (once generated) removed from the list of remaining coupons, so that there are no duplicates?

Any ideas are greatly appreciated!
0
Hey guys,  I am having a glitch with my RSS feed.  One of the nodes, outputs as a hyperlink (which is a google map location). Majority of the people pulling it's no problem, but for some, it's causing a problem.  How could I remove the hyperlink, but still keep the location?

the node in question is line 102  <category><?php the_job_location(); ?></category>

https://cretecarrier.com/feed/huntfeed

<?php
/**
* Template Name: Custom RSS Template - huntfeed
*/
$postCount = 500; // The number of posts to show in the feed
$cacheFile = "rsscache/huntfeed.rss";

if(!file_exists(dirname($cacheFile)))
{
  mkdir(dirname($cacheFile));
}

$posts_per_page = 50;
$paged = 0;
$theres_more = true;
$rss_items = array();
if(file_exists($cacheFile) && !isset($_GET["reset"]))
{
  $rss_items = json_decode(file_get_contents($cacheFile),true);
  if($rss_items == null) { $rss_items = array(); }
}

$charset = get_option( 'blog_charset' );
header( 'Content-Type: ' . feed_content_type( 'rss-http' ) . '; charset=' . $charset, true );
?>
<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' ); ?> Hunt 

Open in new window

0
I've got a strange problem with WordPress (4..9.8) That has just started. I can upload images, but when I select them the details are no longer shown on the right, like so...

screenshot
And The button to insert them into posts is not selectable?

Anyone got a clue how to fix this, Its killed my productivity?
0
Hi,

I am attempting to change a 'Message' text field to a text area on a shortcode form element part of the Enfold Wordpress theme. To get a better idea of what I mean please check this url:

http://www.headstudios.com.au/mailchimp-form-test/

As you can see this is a form that is linked to my Mailchimp list - it works perfect - except I would like the Message text field to be a text area. Since this shortcode is generated by a bunch of complex code in the Enfold theme I had asked them how this could be done - and you can see the question (and their answers) in the URL below:

https://kriesi.at/support/topic/make-message-text-area/

I am confused about the code that is recommended RE: apply_filters etc.

You can see the mailchimp.php code in the link below:
https://pastebin.com/bhszS5xw

I am confused about the advice - and I should mention that the link I had provided was to a page that is now removed - so the id of the form fields could be different - I have recreated the form since then.

Anyway I was wondering if anyone could clarify how I could apply their code to the real life example of the form here:

http://www.headstudios.com.au/mailchimp-form-test/

Any input would be much appreciated.

Thanks
0
I am needing to compress images in my media library for WordPress and when I try to upload the changed images I get this message:

https://gyazo.com/5af8526879a73fa54b0a1b70708c81bf

The original file is 25K and the compressed file is 19K.  This isn't much but I have lots of images that will need to be uploaded in the same manner.  In which the only thing that will be different is their file size.

Please tell me how I can get this accomplished thru Dreamweaver CC 2018.

Thanks,
0
I've been successfully experimenting with interfacing with WordPress's REST API using React.  I've enabled CORS for the remote WordPress site (by modifying it's .htaccess file), and I've succeeded at consuming the JSON data from the API and displaying it by rendering it in my App.js file.  

The code for my App.js file is as follows:

import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';

import { 
  BrowserRouter,
  Switch, 
  Route
} from 'react-router-dom';

import Home from './components/Home';
import Accounts from './components/Accounts';

class App extends Component {

  constructor() {
    super();
    this.state = {
      accounts: []
    }
  }

componentDidMount() {
  let accountsURL = 'https://mywordpresssite.com/wp-json/wp/v2/posts';
  fetch(accountsURL)
  .then(response => response.json())
  .then(response => {
    this.setState({
      accounts: response
    })
  })
}

  render() {

    let accounts = this.state.accounts.map((account, index) => {

    return (    
        <div key={index}>
          <p>{account.title.rendered}</p>
          <hr/>
        </div>   
      )
    });      

    return (
      <div className="App">

        <header className="App-header">
          <br />
          <img src={logo} className="App-logo" alt="logo" />
        </header>

        <br />     

        {accounts}

        <div className="row">
          <BrowserRouter>
            <Switch>
              <Route path="/" exact 

Open in new window

0
Hey all,

I am trying to finish off an RSS script for our wordpress site.  We have 1200 jobs, and vendors want to access our feed to get these jobs.  the normal feed crashes, if you have over 400 jobs in the feed.

I tried following along to a solution on here, about creating a script which would cache the rss file, and loop through the jobs, and write 100 at a time, and then flush the memory, allowing me to have all 1200 jobs in a single rss file.  

When i goto https://cretecarrierdev.local/feed/testcretefeed  it downloads a file in the browser with 100 jobs in.  It creates a directory and file 'rsscache/testcrete.rss". But in testcrete.rss there is only 1 job?

Can you help me modify the template below, so it will write all 1200 jobs to testcrete.rss, and not be a huge memory issue?

<?php
/**
* Template Name: Custom RSS Template - testcretefeed
*/
$postCount = 500; // The number of posts to show in the feed
if(!file_exists("rsscache"))
{
  mkdir("rsscache");
}
$posts_per_page = 100;
$paged = 0;
$theres_more = true;
while($theres_more)
{
  $result = query_posts( array(  
    'post_type' => 'job_listing', 
    'paged' => $paged, 
    'posts_per_page' => $posts_per_page, 
    'tax_query' => array( 
        array( 
            'taxonomy' => 'job_listing_type', //or tag or custom taxonomy
            'field' => 'id', 
            'terms' => array('497') 
        ) 
    ) 
  ) );
  $number_of_results = $result->found_posts;
while(have_posts()) : the_post(); ?>

Open in new window

0
I have a new installation of woo commerce and I have noticed the urls are inconsistent regarding my products on the site.  Some urls are showing the product id and others aren't.  My preference is to not show the id.

https://www.theherbsplace.com/product/sf_p_1458/[code] - With id

[code]https://www.theherbsplace.com/product/neroli-organic-5-ml-100-pure-essential-oil/

Open in new window

- Without id

It seems when the id is in the url it goes to a category page first rather than the single product page.

I have tried changing the perma-links to something else then saving them.  Then immediately putting them back to their original setting and save again but there was no change.

Please show me how to get the product url's consistent with no id on them.
0
I have a wordpress website and there is a responsive menu that shows the menu when viewing the site on mobile device. (the button is three horizontal lines)
i want to add a code on this button that will also scroll the page on top.
the button is on the header of the page
please help
0
Hi Have a wordpress site that has been build for me. It has been uploaded to BT hosting service, but I need someone who knows how to complete the install and link an SQL file that came with the site.
0
Hi,

My site seems to be loading slow on my computer and I don't know why this is. I am with GoDaddy the hosting provider and for me there are times when it takes 10 seconds for a blog page to load.

I have done some independent speed test - and Pingdom for example - gave it a C score.

I was wondering - is anyone aware of what I can do to speed it up? Is there a way to see how much of the issues that I am facing are caused by a server error?

Also - I suspect that it could be caused by my Cloudflare and various redirects - this is just a hunch but I thought I'd throw it out there.

Any input would be much appreciated.

Thanks
0
Hi,

I have a form located here: www.headstudios.com.au/sample-mailchimp-form/

This is a Mailchimp sign up form that comes standard with the Enfold Wordpress template. What I would like to do is to modify it so that the 'Message' field is a textarea.

When I try to change this manually in the inspector the validation and the submission options don't work.

What I would like to do is to know what elements have to be changed in the JS so that this form works to submit as a textarea - which will pass both the validation (so it becomes green if you try to submit without an email) and the PHP submission. I assume that once it passes PHP submission it won't matter on the php processing page whether or not it's a text area since it'll only receive the data.

Any input would be much appreciated.

Thanks
0
NinjaForms with wordpress - I have created a Ninja form that inputs custom values (ROW_IDs from another table) when the form is submitted.

Example:
Q1: What type of bar do you own
A) Dance club = integer value 7
B) Wine bar = integer value 1
C) Speak-Easy = integer value 12

When I get the form emailed to me it looks great..like this:
Dance club | 7

However I finding the form submission data is not as easy as I thought. In the past when I have used "form builder", the submission data is written to a single easily identified table and is stored in a way that is very easy to query and join to other custom tables I have created.

What I am looking for is help creating a SQL query that I can use in a view that will give me the Ninja form output in the same format as the HTML email: QUESTION VALUE

WordPress 4.9.7
Ninja Forms Version 3.0.34
FORM_ID = 3

Thanks in advance experts!
0
Hi,

I was wondering if anyone can tell me where the validation code is for the form located in headstudios.com.au/hsfast

If the form is not entered correctly.

Thanks
0
Hi Experts,

I am having some issues with my custom rss feeds, in wordpress.   I'm using the wp-job manager plugin, and have 3 custom feeds.

https://cretecarrier.com/feed/cretefeed
https://cretecarrier.com/feed/shafferfeed
https://cretecarrier.com/feed/huntfeed

The problem i am having is Crete has around 1100 active jobs, but if i try to have all 1100 jobs in the feed it crashes. I currently get around 400-500 without crashing.  The memory of the site is already at 768M, and cannot go up anymore.

I've attached the template for https://cretecarrier.com/feed/cretefeed

Any ideas on how i could improve this so that i can show all 1100 jobs in the feed and not crash?

<?php
/**
* Template Name: Custom RSS Template - cretefeed
*/
$postCount = 500; // The number of posts to show in the feed
$postType = 'job_listing'; // post type to display in the feed
$taxonomy = 'job_listing_type';
//query_posts( array( 'post_type' => $postType, 'showposts' => $postCount,  ) ); 

query_posts( array(  
    'post_type' => 'job_listing', 
    'paged' => $paged, 
    'posts_per_page' => 500, 
    'tax_query' => array( 
        array( 
            'taxonomy' => 'job_listing_type', //or tag or custom taxonomy
            'field' => 'id', 
            'terms' => array('497') 
        ) 
    ) 
) );

$charset = get_option( 'blog_charset' );
header( 'Content-Type: ' . feed_content_type( 'rss-http' ) . '; charset=' . $charset, true );
?>
<rss version="2.0" 

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.