-2
votes
0answers
15 views

include statement in index.php does not allow access to $current_user [on hold]

Using a child theme. index.php allows access to $current_user index.php has include get_template_directory_uri() . '-copy/subPages/account.php'; account.php does not access $current_user and ...
2
votes
1answer
47 views

How do I change the sql query for wp_get_archive()

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. So how can I change the query for ...
0
votes
0answers
7 views

Custom Images - Creating Larger Versions

Playing around with the add_image_size for my theme, it works a treat for large images, crops them nicely, however if someone uploads a tiny image, I'm trying to make the size increase or at least ...
1
vote
0answers
14 views

How to enqueue admin content outside admincp

How do I enqueue admin javascript/css/header outside admincp, and specifically outside Wordpress. I checked one of the admin pages, and it contains this line: require_once( ABSPATH . ...
0
votes
0answers
8 views

Media Manager not creating thumbnails

I am working with the media manager in WP 3.8. For some reason, it is not creating thumbnails. The original image uploads just fine. Here is a list of things I've done or checked: The images I am ...
0
votes
0answers
32 views

How can I use get_permalink() outside the loop?

I've been struggling with this question for a while and although there's some information regarding this subject I'm not sure how to implement it. My question regards sharing the current page. I am ...
0
votes
1answer
290 views

Warning after create Custom post type with Roots theme

I've created e Custom post type with Roots theme, adding the custom script inside functions.php like require_once locate_template('/lib/custom-post-types.php'); // Custom post types After ...
5
votes
3answers
376 views

WP 3.9 TinyMCE no longer loads on category description editor

I've used this script below inside functions.php since WP 3.5 It converts the standard category description editor to a rich text editor. Unfortunately, after upgrading sites to WP 3.9, the ...
2
votes
1answer
30 views

Display only posts from referred category on date archive page

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. Following is the code for my ...
-4
votes
0answers
13 views

CDN, SSL, and Kaltura Video Server problem with Wordpress [on hold]

The current problem weâre experiencing is simply trying to serve the syndicated video over HTTPS. It looks like the JS file on YouniversityTVâs end is currently only configured to serve up HTTP ...
0
votes
1answer
360 views

<?php wp_register(); ?> Display logged in user as “Site Admin” apposed to Logged in user

I'm just working on a little hobby word-press site I have; <?php wp_loginout(''); ?> <?php wp_register( '',''); ?> In the top rite corner of my site, <?php wp_loginout(''); ?> ...
7
votes
2answers
18k views

How to create a custom search for custom post type?

I have a search field for the blog posts, but I need an other for a custom post type. How can I create this custom search form with a different search result layout?
1
vote
2answers
276 views

Wordpress auto login after registration not working

So I looked up a bunch of threads trying to figure out how to automatically log a user in after registration, and came up with this. function log_me_the_f_in( $user_id ) { $user = ...
0
votes
1answer
19 views

Mobile Nav Stopped Working [on hold]

I implemented this nav some time ago : http://css-tricks.com/convert-menu-to-dropdown/. It worked for about a year and now it does not dish the mobile nav. Something is broken and I have looked ...
1
vote
1answer
40 views

How to Implement Responsive YouTube Video Framing? [closed]

I am using the YouTube embed functions to place my video inside my wordpress single post page. I do not want to use oEmbed because it gives me less custimization with hiding the information bar, ...
7
votes
4answers
6k views

Make WordPress WYSIWYG not strip out iframe's

I have a blog that I often need to insert iframes into posts for various reasons (don't ask why just trust me!) When I use the "visual" view to edit my posts the WYSIWYG constatantly strips out my ...
1
vote
4answers
2k views

Automatically Import WordPress Blog to Facebook Page

I managed to import wordpress post to Facebook with this: http://www.insidefacebook.com/2009/02/22/how-to-import-your-blog-into-facebook/ When i create new post, Facebook doesn't show any new posts ...
0
votes
1answer
273 views

SQL to update custom post taxonomies

I have a custom post "review". It uses the same categories and tags from default posts, so they share "category" and "tag" taxonomies. But later I changed the "review" register to have their own ...
2
votes
2answers
3k views

How can i disable a plugin for a mobile phone?

Is there a way I can not show something to mobile users? I have a floating social bar on my responsive theme, but it get in the middle of the content if I'm on my Android phone. I don't want to use ...
2
votes
1answer
341 views

Crop image from get_theme_mod Customizer field

I'm using the following code to allow a user to upload a custom image (in addition to header image) through the customizer. Is there a way to crop the image when displaying it? ...
1
vote
1answer
408 views

Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites

I have a custom 404 page, but dont want serve it for every broken asset that may crop up. Instead I want to just serve the Apache 404 as its much faster. I've found the following htaccess rule that ...
0
votes
0answers
3 views

Prevent the display of junk characters using wp_generate_attachment_metadata from front end

I am using a front end form for submitting posts and in the instance that the user does not attach an image, I am setting default images that already exist in the media library to attach at random to ...
0
votes
0answers
14 views

Develop child theme with less [on hold]

I have installed WP-less for the site that I'm working on but I'm having trouble getting it to work. I've created a lesPaul child theme, and activated it, and I want to develop using .less instead of ...
1
vote
1answer
641 views

Some custom taxonomy child terms not showing in admin. Caching problem?

I have a problem with some custom taxonomy terms. I am using "Types" plugin for creating custom post types and custom taxonomies. I successfully created my postype and hierarchical taxonomy and ...
0
votes
1answer
18 views

Wordpress install becomes unresponsive [on hold]

I feel like I am taking crazy pills. I did a Wordpress install as a favour and set it up using Nginx and php5-fpm with microcaching. I followed the wordpress.org instructions and when I finished I ...
3
votes
2answers
25 views

Audio or playlist shortcode condition according to the amount of files on attachment page

My reason for doing this is for a music & entertainment site where users will have the ability to share music and videos on other websites via embed code. I'm using the audio.php and video.php ...
0
votes
3answers
985 views

How to point my domain to a Wordpress install in a sub-directory?

I have recently been re-designed a client's website (whose website is - for example purposes - mywebsite.co.uk)/ I have developed the new website (a heavily modified wordpress install) in a ...
0
votes
1answer
13 views

Show div only if post is in specific category

In my list of blog posts, I would like to show a div which labels the post as a "Press Release" if the post is tagged with the "Press" category. I have added the following chunk into my loop: ...
0
votes
1answer
29 views

Theme development: menu links a tabbed page with page jumps

This might sound like a basic question, but It is my first time developing for wordpress: I am developing a theme, I need to have: A landing page with navigation menu Another page that the landing ...
1
vote
0answers
25 views

Version Control [migrated]

Framework: Genesis Child Theme: Genesis Sample I am hoping to soon begin making changes to my CSS, in order to alter the appearance of my website. I have read that this is a terrible idea if you are ...
0
votes
1answer
30 views

Wordpress popular posts by week code

I m trying make a code that list the popular posts by week. Until now i was able to creat a veiws counter and display the 4 popular posts. So what i still need is to make this query more accurate. ...
0
votes
1answer
320 views

Unable to display the post titles in a drop down

I have post type Dealers and a taxonomy Manufacturer i have a list of manufacturers and relevant posts. Im trying to display the list of manufacturers in a drop down, when a manufacturer is selected ...
0
votes
0answers
17 views

How to overwrite Woocommerce template using Avada Child Theme [on hold]

I need to overwrite my-account Woocommerce template. In order to do so using child theme I tried the following solutions: copied my-account.php file from woocommerce/templates into ...
0
votes
0answers
4 views

Autodetect currency coding [on hold]

I have a task which require me to change the currency (like Smart currency converter) in real time and perfectly (updated with rates), i don't know where to start and how can i use WooCommerce to get ...
2
votes
3answers
5k views

Custom registration form page/template

I am trying to create a registration page on my site to allow visitors to register on the site and have access to special contents. I installed Cimy User Extra Fields to add extra fields to ...
0
votes
0answers
8 views

Broken Theme - Missing theme images

i am having a problem with the detube theme, my theme images are missing "search image, like image, views image, gradient image etc" This is my website http://www.redvooz.com i have installed this ...
0
votes
0answers
10 views

How map form enteries from DB to a page

I have a form that specific user role will fill out (using a form plugin). I need to display certain parts of that form in a page. Is there a plugin that can do this? As you can tell, I'm not a ...
0
votes
1answer
20 views

Create server side text from wordpress page

I would like to store a wordpress page as text on the server for access in a custom application. Specifically I want a div of class '.entry-content' on a page url like below ...
0
votes
2answers
26 views

Activation Account Email

I use a betnami hosted wordpress multisite, when a user sign up in the site he should receive an email with activation link, but it does not work! so how to make it work? and if it work how to ...
0
votes
3answers
553 views

How to store accumulate multiple option values in a single array using Options_API

I have created an option array that stores a series of options, along with their values. The problem is that I want to ACCUMULATE these options and store them in the options database. Meaning I would ...
0
votes
1answer
8 views

Double slash in the_terms URL

I recently moved a parent category and its children from the default categories taxonomy to a new custom taxonomy. The data moved over just fine and posts are properly associated with the company name ...
0
votes
2answers
92 views

Suggestions: Customizable header image and style colors that are different for each page

I'm working on a project where each page should have a custom header image and custom style colors (borders, etc). So that I don't have to be the one creating a brand new style everytime a page is ...
76
votes
9answers
26k views

Steps to Take to Hide the Fact a Site is Using WordPress?

I have a website for which we are trying to be discreet about the fact that we are using WordPress. What steps can we take to make it less obvious?
0
votes
1answer
28 views

Why isn't my imported database showing up? install.php pops up and adds new tables to the database

I imported my live sites sql backup into xampp. I have named the new DB 'wordpress' and configured wp-config with db-name 'wordpress', user 'root', pw ''. Then I went to localhost/wordpress and it ...
1
vote
1answer
12 views

Creating a one click demo importer

What's the best way of importing demo widget/site options, inside a plugin? I would obviously like to avoid some site options like what the site url is short of doing a brutal SQL import is there ...
2
votes
0answers
8 views

List children of second level sub page

Top Level Page - Second Level Page --- Child Page --- Child Page --- Child Page The goal here is to list all children of second level, I have that done from the codex. However, when I click ...
0
votes
2answers
369 views

Remove id attribute from stylesheet link

Right now I'm serving up my own custom stylesheet. // register main stylesheet wp_register_style( 'custom-stylesheet', get_stylesheet_directory_uri() . '/library/css/main.css', array(), '', 'all' ); ...
0
votes
1answer
8 views

Wordpress editable template fields

I created several template files like this: <?php /* Template Name: My Template 1 */ get_header('my-template-1'); while ( have_posts() ) : the_post(); the_content(); endwhile; ...
4
votes
2answers
8k views

TinyMCE: adding CSS to format dropdown

I successfully added a TinyMCE stylesheet using add_editor_style() so that I can preview the styles in the body of the TinyMCE editor. However, am I right in assuming that the add_editor_style() ...
0
votes
0answers
6 views

WPML. How to connect post translations from frontend form ( or throught php )?

My task is that user should be able to create posts from front-end. I'm using ACF plugin, for creating forms on front-end. My web is in 2 languages: Rus and Est. User can create on one of that ...

15 30 50 per page