0
votes
0answers
2 views

Css class in menu can't change

I want to add a css class for some menus under appearence ==> menu and i did it for some of them but there are some munus that can't be changed and i get a not editable css class for them by default ...
0
votes
1answer
3 views

SELECT SQL_CALC_FOUND_ROWS with wordpress search

When I make a search on my site no posts are retrieved and through wordpress debug I get this error message: WordPress database error: [Table 'theme_se.wp_comments' doesn't exist] SELECT ...
0
votes
0answers
2 views

Get the link of the first post of a custom taxonomy in a custom taxonomy list

Currently, I'm doing this using a custom field, but I would love for this to be automatic. Basically, I have a page that will list all the entries of a custom taxonomy, but I want the links of the ...
0
votes
3answers
2k views

How to delete all posts, categories and tags from Wordpress database

I have WP website with over 40,000 posts. Now I'll like to delete all posts, categories and tags. So All content and related meta. All I want to keep is static files. Is there a easy way to do this ...
-1
votes
0answers
23 views

Auto Generate Chart in Posts

I'm using WP REST API to publish content for my website. Is it possible to generate charts and insert into posts by coding? I tried Visualizer Library but did not know how to do it automatically by ...
0
votes
1answer
442 views

Authenticating a user with the WP-API V2 in Postman

I'm using Postman to test my project and the wp-api. More specifically POST requests where a user must be authenticated to do something. Here's what I'm working with to create a user: {{url}}/...
1
vote
1answer
868 views

WordPress import not importing custom taxonomy

I've posted this already in the WP Support Forum hoping to have more luck here. I'm trying to import a custom post type from one blog to another. (126 posts in the custom post type). I've exported ...
0
votes
0answers
8 views

How to string lines from the_content() hook in WordPress?

Inside my content-video.php template, I have the following codes: <iframe src="<?php echo get_the_content(); ?>" width="960" height="540" frameborder="0" allowfullscreen="allowfullscreen">...
0
votes
1answer
3k views

Redirect loop (only for multisite network admin)

I can log into http://localhost/wp/wp-admin/ fine, but logging into http://localhost/wp/wp-admin/network/ produces a network redirect loop (ERR_TOO_MANY_REDIRECTS). The site also loads just fine even ...
0
votes
0answers
9 views

Image from the single post wont show at facebook

I have a wordpress website. I made some changes into the php header file because of some troubles I was having with the facebook integration. I'm using videotouch theme. The problem is: When I post ...
0
votes
0answers
10 views

How to select N number of products and display it randomly in Woocommerce

I have a woocommerce setup with about 10,000 products, i would like to display all the latest products on the home page so that i can have N number of latest products from each PRODUC TAG displayed in ...
1
vote
1answer
6k views

wp-admin url doesn't allow to login and redirects to same page

I am using Wordpress 3.6, the latest version. When I access login page for admin URL like www.example.com/wp-admin and I enter the username and password, Wordpress redirects me to the same page. But ...
-3
votes
1answer
10 views

ACF select box css color change

i have a trouble with Advanced custom post i try to add select box "K dispozicii is "free" and "Obsazeno" is "occupied" and i need to change colors green for free, red for occupied here is the code ...
0
votes
1answer
416 views

How to allow logged in users to post anonymously

I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
0
votes
0answers
22 views

Get the_content with formatting text?

I used this php-code to find all links. function url_to_link($text) { $reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/"; if(preg_match($reg_exUrl, $text, $url)) { ...
-3
votes
1answer
21 views

How to execute the “Visual Composer” code on a custom html page?

Visual Composer is an essential plugin for creating a website with Wordpress. I created an html page with Sublime Text without using the tools offered in Wordpress and without using Visual Composer. ...
0
votes
2answers
1k views

Adding Content Areas to Custom Page Template

I am not sure how to ask this, which is why I have been having trouble finding anything via google searches. I am hoping someone here will understand what I am looking for and be able to direct me to ...
0
votes
0answers
7 views

Any Nextgen Gallery to WordPress importer?

Im trying to find a Nextgen Gallery importer to WordPress (default) gallery. I found some plugins and works well (like this: https://github.com/kovshenin/escape-ngg), but only with old tag system [...
0
votes
3answers
136 views

How can you showcase premium themes to clients without having to pre-purchase the theme?

If you use a premium theme service (my skills lie more in coding than artwork), what is a good way to show clients examples of what themes are available to them, without sending them to the theme ...
-1
votes
1answer
55 views

Retrieve uploaded image attibutes value from option tree theme options

I'm using option tree for my theme options page. But I can't retrieve uploaded images attribute like alternative text, description,caption etc. How can I do that.
0
votes
0answers
10 views

Allow custom user to Publish, But Not Edit or Delete a custom post type

If I create a custom post type in functions of my theme like this: add_action('init', 'mail_register'); function mail_register() { $labels = array( 'name' => _x('Letters', 'post type ...
0
votes
0answers
12 views

Wordpress calls my plugin while trying to update Wordpress Core

I am developing my plugin right now, and I have faced with one issue. I tried to update my Wordpress core to the latest version but it shows me an error in my plugin. I think I doing something wrong. ...
0
votes
2answers
419 views

Infinite Redirect Loop after moving to subdirectory

I installed WordPress locally and created a theme, which worked fine. Now, as I wanted to deploy the site to a webserver via FTP, I got stuck by an 301 Redirect loop which makes it impossible to ...
-1
votes
0answers
6 views

Contact form 7 Datepicker, date range between 2 dates

I have used 2 date fields in my Wordpress contact form 7 - a start-date and an end-date. The fields are datepickers. When a visitor has selected a start-date i want them to only be able to select an ...
0
votes
0answers
7 views

Custom single post pages not using single-template even after flushing permalinks

I have moved my site from a local server to production however my theCommunity custom post types are not using single-theCommunity.php template. I have also tried flushing permalinks as recommended in ...
0
votes
1answer
468 views

Custom Function for Portfolio Archive Template With Conditonal Tag

Can't work out which conditional tag to use to add a page title to the portfolio archive page which uses custom posts types. This doesn't work: if( is_archive('portfolio') ) echo '<div class="...
-2
votes
1answer
12 views

make default upload folder year/month/day wordpress without plugin

is there any way to change in code and make it when you click(enable) “Organize my uploads into month- and year-based folders. ” it to be default year/month/day ……… without any plugin.. Can anyone ...
0
votes
0answers
10 views

Configure .httaccess for wildcard SSL subdomain Wordpress

I have 1 domain (in public_html/maindomain) with a wildcard SSL (from CloudFlare) installed and I am creating a subdomain (in public_html/maindomain/subfolder). Both have a Wordpress installation. ...
1
vote
1answer
552 views

How to show last post of each website of a MU wordpress in HomePage

I'm running a Wordpress MU website and each website has its own "life" but now I would like to show last X posts of each blog of my network on the homepage. I know how to do it using Feeds and a ...
0
votes
1answer
151 views

How-to inspect filter-able $vars?

Note: This is more of a tutorial/wiki than a real question and should be a reference for later Questions. If you got something to add, please feel free to add an answer. Working answers get upvoted. :)...
0
votes
1answer
2k views

How to let users choose posts order in categories?

I'm running a wordpress based website and I need to let the users choose how to show the posts inside categories pages. I would like to have a button inside a category page that can be clicked so the ...
-1
votes
1answer
210 views

Basic clothing showroom [closed]

I'm experimenting with Wordpress setups, and I'm curious if I can make some sort of showroom advertising items for sale. Is there any how-to or documentation I can refer to?
16
votes
9answers
761 views

Creative uses of WordPress [closed]

As WordPress grows, it becomes possible to make more and more sites using the technology. Pages and the permalink structure give it CMS power, custom taxonomies and post types expand this further to ...
1
vote
0answers
43 views

How to structure model showcase

I need to make a website of models that contain the following components: Model page - model info, editorials of that particular model Editorial page - containing some editorial info, link back to ...
18
votes
3answers
3k views

How to: inspect global variables in WordPress

People are often confused about how to get data from global objects/variables Question: In which ways can you inspect global variables? This Q was written because it's needed pretty often over ...
2
votes
2answers
1k views

Single post comment template not working

I cant get the comments template to show up in my single-events.php This is my code <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'events' ); ?> &...
0
votes
1answer
48 views

Show global Message in User Profiles with admin only Input field in Wordpress Backend

I try to display a piece of text (without plugin) for example "Quote of the day: Some text" on all user profile pages (.../wp-admin/profile.php). This Text should managable/editable from the Profile ...
0
votes
0answers
7 views

Special characters automatically converted in pemalink

In one of the WordPress installation, special characters in permalink is getting converted (PFA). How to allow special characters in WordPress permalink? If anyone had same issue please suggest.
0
votes
1answer
859 views

Can't view network plugins.php or upgrade-core.php on multisite

I have a network with 5 or 6 sites. In the network admin panel I can see all pages except the /wp-admin/network/plugins.php page and the /wp-admin/network/upgrade-core.php page. Both of those files ...
0
votes
1answer
902 views

All pages are redirected to homepage if using Permalink Custom Structure

My website http://laptopre.net/ is running on WP 3.4.2. When I changed the Permalinks setting to Custom Structure - /%category%/%postname%/ , all the pages in my site are redirected to homepage. ...
0
votes
0answers
13 views

Hide pages + widget edit

I have 2 questions on this site i have this item i was wondering how can I make this item not show in the widget area or any other part of the site but still be accessible if some1 has the link to it ...
0
votes
1answer
17 views

Theme tweak to header

My theme's support has been great generally but the following is out of their support policy (maybe because it could affect responsiveness). Is there any way I can align the navigation menu towards ...
0
votes
0answers
17 views

Displaying Wordpress Parent field in child post

I want to display the title from a parent field within a single child post (these are custom posts created with wp-types). At the moment, all I seem to get is the title of the current post, and not ...
2
votes
2answers
582 views

How to get shortcode working from custom meta field

I've created a simple text custom meta field for pages. I can successfully enter plain text which prints on the frontend of the site with no problem. I want to add shortcodes also. If I add a ...
0
votes
0answers
4 views

remove option in variation product woocommerce

Hallo i have remove product option in woocommerce for simply product the option is "subscription" and then i have used this code add_filter('product_type_options', function($product_options) { ...
0
votes
1answer
2k views

Add SWF file to wordpress through custom template

I am trying to attach an swf file to my website. I have that swf file in my local system. But wordpress is not alowing me to upload the swf file into the media library. I want to add that swf to my ...
0
votes
1answer
21 views

wordpress meta value compare between two date

I want to check date between two year of birth. But my saved value is date of birth. Meta key "birth_date". Now I want to check value between years using year. My saved date format like "01/01/1995" ...
3
votes
0answers
10 views

Use override_load_textdomain for cache translation and improve performance

I have a multisite wordpress with multiple localized sites (es_ES, de_DE, it_IT). I want improve page speed by caching wordpress translation file. My code works (inspired by Tristan Darricau)! and ...
0
votes
1answer
19 views

Edit tag_id in category pages of dashboard

When we create a category, WordPress randomly assigns a tag_id for that category. Is it possible to change that ID in the category section? For example I create a category X and it is assigned ...
0
votes
1answer
660 views

get posts where a custom field contains a text

I have a custom field where the value contains a comma separated list of items (like: test1,test2,test3), now I want to retrieve posts where the field contains one of the values, I have: $query = ...

15 30 50 per page