Used for questions about Wordpress ( from https://codex.wordpress.org/ : WordPress Codex, the online manual for WordPress and a living repository for WordPress information and documentation)
Questions tagged [codex]
80 questions
1
vote
1 answer
Wordpress Filter post by product_cat
I’m having trouble filtering posts (product) by product category. Tried several ways, I’m a newbie.
On my archive-product template I’ve come to execute a report (via SQLREPORTS plugin) with this query:
SELECT `post_title` AS Alumno, `comment_author`…

Carlos Garcia
- 359
- 1
- 5
- 29
1
vote
3 answers
how to put "edit" link under each excerpt in Wordpress?
In the blog I have created, there is an edit link at the bottom of each post when you look at the live site whilst logged in as admin.
Website client looking for a way to have that edit link on the 'blogroll' homepage so that it appears underneath…

Ryan Coolwebs
- 1,611
- 5
- 22
- 44
1
vote
1 answer
Get rid of wordpress editor auto tags on specific pages
I have a problem when i add some code to wordpress editor it automatically add some HTML like span,
and
and
it also remove my
tag or remove its classes is there any plugin or hook which i can implement on specific post or page, i am not…

Srackoveryflow_guy
- 357
- 1
- 3
- 12
1
vote
1 answer
How to execute filter code in wordpress page
I have an issue i have put this html code
Read More
But wordpress output gives me this html on the page when i inspect the element.
1
vote
2 answers
register_sidebar and white screen error
I need to register a sidebar for a theme.
I've added this code to end of functions.php
'sidebar-1',
'name' => 'left-sidebar',
…

Miller
- 105
- 1
- 2
- 11
1
vote
1 answer
Wordpress and Paths
I am setting up a Wordpress site for educational purposes.. the content that I want to show in the wordpress blogs (videos) does however not reside in the wp-content directory but in the Root directory of the server of which Wordpress is a…

Cavemanharris
- 185
- 2
- 14
1
vote
1 answer
Display the content and title of a specific page on Homepage
I want the title and content of a specific page to show in my Homepage and footer area.
It will be something like this.
This is the Title of the page
This is the content of the page, etc....blahh blah..
readmore...
I…

Jeremi Liwanag
- 944
- 4
- 21
- 44
1
vote
0 answers
Use the Wordpress Codex in Symfony2 Twig templates
The last couple of months we have been busy developing a Symfony application. Aside of that we developed a Wordpress website. Now I'm busy integrating the Wordpress website into the Symfony application, which I've separated in two steps.
Step 1:…

Rvanlaak
- 2,971
- 20
- 40
1
vote
1 answer
Wordpress Codex: Displaying all post attachment in thumbnails on an archive page
I'm putting the final touch on this photographer portfolio website built with Wordpress.
Here's the development link: http://dev.manifold.ws/maudearsenault/category/fashion/ (NSFW)
I'm using post categories for the main navigation (Fashion, Beauty,…

thom_p
- 219
- 1
- 3
- 12
0
votes
1 answer
Wordpress How to remove the relation of my post with their uploaded files
Hi I´m trying to know if there are someway to remove the relation of the uploaded files with a post WITHOUT deleted the files, when you upload a file and inserted into the post. For example a pdf file. you will get a link inserted into the post.…

ncubica
- 8,169
- 9
- 54
- 72
0
votes
1 answer
wordpress restrict pulgin installation to those who have a unique code
i want to make an wordpress plugin, and to put it public, but i want that only the users that have a certain unique code to be able to activate it.
is there possible using the wordpress api to ask for a unique code at plugin activation (and to…

dana
- 5,168
- 20
- 75
- 116
0
votes
0 answers
OpenAI Codex: Bug: Codex cannot complete a small python program
I am just trying out OpenAI codex and I can't get codex to complete a small python program. I give codex the prompt "can you write some python code to show four sliders a b c d in a separate macos window using a qwidget?" and codex writes about 30…

havasu78
- 51
- 6
0
votes
3 answers
in wordpress, how do I add tags to the divs Class
I want to add the post tags into its div class so I can add specific CSS for different types of tags.

goetzs
- 114
- 2
- 12
0
votes
0 answers
How to insert data from the frontend in custom field wordpress?
I'm working on insert data from frontend form in a custom post type
I created the post type with the taxonomy in function.php file and it was added successfully in my Dashbord
and now I want to get the data from the front end and insert it the…

raja
- 1
- 3
0
votes
1 answer
Wordpress Multilanguage with variable and get request
i tried almost all plugins and not giving me what im looking for
im looking to click on a _GET link and convert site / content to another dir / lang and have 2 variable for each Lang as example :
$is_lang = htmlspecialchars($_SESSION['WPLANG'],…

Amjad
- 68
- 6