Edit position of custom fields in Post
Author | Posts |
---|---|
August 23, 2014 at 4:20 am 25689 | |
Sekander Badsha | Hello, I would like to edit how normal fields and custom fields appear on the published post. But, using HTML/CSS, I can edit each normal fields separately but custom fields appear all under the same naming : wpuf_customs. I use themify theme - Grido Do I have to edit some php files ? If so, as I don't understand all Php synthaxa, please give me a nice procedure, like for your turorials ;-) Thanks Alex |
August 24, 2014 at 6:09 pm 25751 | |
Alexandre | Hello, After some further research, I found your “Showing Meta Fields/Showing fields in the theme:” article The information would appear on the post. But on top or beneath CONTENT. brackets without naming (like .exemple ou #exemple). So I cannot name them and modify them using CSS (which is more a language I know…..) I bought the plugin Advanced Content Templates, because I thought I could simply create a template (in worpdress) using the shortcodes. But, the template works only with back-end post creation and not front-end….. Thanks for helping ! Alex |
August 24, 2014 at 10:25 pm 25772 | |
Alexandre | Hello, So i continued working on my problem and I found out that for each field we can add a CSS Class name and a text Placeholder 😉 So I gave names to my custom field Slogan. Then I edited the single.php out of my theme folder and put :
But when I visit a post, the 2 informations (slogan and Editeur) appear after the post (ok not a big deal)but what is more inceniant for me is that I still can’t find any class or ID that could help be name these fields via CSS. Thanks for helping !!! Alex |
August 25, 2014 at 6:50 pm 25839 | |
Sekander Badsha | Hello Alex, |
August 26, 2014 at 1:23 pm 25880 | |
Alexandre | Hello Sekander, Sorry, but I haven’t found the solution yet. My custom field name is Slogan. I have added the CSS class name : slogan. Is it ok ? I have added the ID, ‘item’, true ); ?> I have tried lots of things and I’ve never found the CSS class name of theses two elements. For info, on my styles.css, i have been searching for .slogan{ or li.slogan{ Thanks for helping. Alex PS . I received your email concerning the contributor day you organised at Dhaka. Congrats ! 😉 |
August 27, 2014 at 4:39 pm 25937 | |
Sekander Badsha | Hi Alex, |
August 27, 2014 at 5:47 pm 25956 | |
Alexandre | This reply has been marked as private. |
August 28, 2014 at 6:11 pm 26010 | |
Sekander Badsha | Oh Good Lord!! |
August 28, 2014 at 6:42 pm 26012 | |
Alexandre | This reply has been marked as private. |
August 30, 2014 at 4:14 pm 26079 | |
Sekander Badsha | Sorry Alex, |